2021-04-26 21:38:11 +00:00
|
|
|
{{ if .Values.cm.create }}
|
2020-06-09 18:33:29 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
2021-08-25 12:14:13 +00:00
|
|
|
name: argocd-notifications-cm
|
2020-06-09 18:33:29 +00:00
|
|
|
labels:
|
|
|
|
{{- include "argocd-notifications.labels" . | nindent 4 }}
|
|
|
|
data:
|
2021-02-03 20:48:19 +00:00
|
|
|
context: |
|
|
|
|
argocdUrl: {{ .Values.argocdUrl | quote }}
|
2021-05-11 11:19:17 +00:00
|
|
|
{{- with .Values.context }}
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2021-02-03 20:48:19 +00:00
|
|
|
{{- with .Values.notifiers }}
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Values.subscriptions }}
|
|
|
|
subscriptions: |
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Values.templates }}
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Values.triggers }}
|
|
|
|
{{- toYaml . | nindent 2 }}
|
2021-04-26 21:38:11 +00:00
|
|
|
{{- end }}
|
2021-05-11 11:19:17 +00:00
|
|
|
{{- end }}
|