Skip to content

Commit

Permalink
fix helm notifications config
Browse files Browse the repository at this point in the history
  • Loading branch information
dyu-bot committed Sep 20, 2023
1 parent 248d208 commit 16871a5
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 16871a5

Please sign in to comment.