argocd-helm/charts/argocd-notifications/templates/configmap.yaml
Petr Drastil 91e6e0749a
fix(argocd-notifications): Use correct names for ConfigMap and Secret (#898)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2021-08-25 14:14:13 +02:00

27 lines
655 B
YAML

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