Skip to content

Commit

Permalink
update serving_conf.yaml (#474)
Browse files Browse the repository at this point in the history
* update serving_conf.yaml

Signed-off-by: sam.sun <asdfsx@gmail.com>

* update chart: if ip & port are empty, add an empty string into hosts

Signed-off-by: sam.sun <asdfsx@gmail.com>

Co-authored-by: ChenLong Ma <owlet42@126.com>
  • Loading branch information
asdfsx and owlet42 authored Sep 23, 2021
1 parent a270b75 commit 51290cd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions helm-charts/FATE/templates/python-spark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,18 @@ data:
passwd: '{{ .Values.externalMysqlPassword | default .Values.modules.mysql.password | default "fate_dev" }}'
max_connections: 10
stale_timeout: 10
{{- with .Values.modules.serving }}
servings:
hosts:
{{- if .Values.modules.serving }}
- {{ .Values.modules.serving.ip }}:{{ .Values.modules.serving.port }}
{{- if and .ip .port}}
- '{{ .ip }}:{{ .port }}'
{{- else }}
- ''
{{- end }}
{{- if .Values.modules.serving.useRegistry }}
{{- if and .useRegistry .zookeeper }}
zookeeper:
{{ toYaml .Values.modules.serving.zookeeper | indent 6 }}
{{ toYaml .zookeeper | indent 6 }}
{{- end }}
{{- end }}
transfer_conf.yaml: |
paths: # dir or path
Expand Down

0 comments on commit 51290cd

Please sign in to comment.