* feat(argocd-notifications): Optional ConfigMap for argocd-notifications Signed-off-by: Cicatrice <cicatrice@cicatrice.eu> * feat(argocd-notifications): version bump Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com> Signed-off-by: Cicatrice <cicatrice@cicatrice.eu> Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
24 lines
No EOL
602 B
YAML
24 lines
No EOL
602 B
YAML
{{ if .Values.cm.create }}
|
|
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 }}
|
|
{{- end }} |