argocd-helm/charts/argocd-notifications/templates/configmap.yaml
georgekaz ba467c8a4b
feat(argocd-notifications): update to support argocd-notification v1.0.1 (#567)
Signed-off-by: George Kaz <egeorgekaz@gmail.com>
2021-02-03 12:48:19 -08:00

22 lines
No EOL
564 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "argocd-notifications.name" . }}-cm
labels:
{{- include "argocd-notifications.labels" . | nindent 4 }}
data:
context: |
argocdUrl: {{ .Values.argocdUrl | quote }}
{{- 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 }}
{{- end }}