Skip to content

Commit

Permalink
fix helm notifications config (#4055)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Yu <[email protected]>
  • Loading branch information
dyu-bot authored Sep 20, 2023
1 parent 248d208 commit be7c789
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion charts/flyte-core/templates/admin/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,16 @@ data:
notifications.yaml: |
notifications:
type: {{ .Values.workflow_notifications.config.notifications.type }}
region: {{ tpl .Values.workflow_notifications.config.notifications.region $ }}
{{- if eq .Values.workflow_notifications.config.notifications.type "aws" }}
{{- with .Values.workflow_notifications.config.notifications.aws }}
aws: {{ tpl (toYaml .) $ | nindent 8 }}
{{- end }}
{{- end }}
{{- if eq .Values.workflow_notifications.config.notifications.type "gcp" }}
{{- with .Values.workflow_notifications.config.notifications.gcp }}
gcp: {{ tpl (toYaml .) $ | nindent 8 }}
{{- end }}
{{- end }}
{{- with .Values.workflow_notifications.config.notifications.publisher }}
publisher: {{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
Expand Down

0 comments on commit be7c789

Please sign in to comment.