
* Support setting secret name Signed-off-by: Hendrik Maus <aidentailor@gmail.com> * Support setting configmap name Signed-off-by: Hendrik Maus <aidentailor@gmail.com> * Use the fullname template for secret name Signed-off-by: Hendrik Maus <aidentailor@gmail.com> * Use the fullname template for configmap name Signed-off-by: Hendrik Maus <aidentailor@gmail.com> * Bump chart version 1.6.1 -> 1.7.0 Signed-off-by: Hendrik Maus <aidentailor@gmail.com> * Update changelog Signed-off-by: Hendrik Maus <aidentailor@gmail.com> * Update README Signed-off-by: Hendrik Maus <aidentailor@gmail.com> Co-authored-by: Marko Bevc <marko@scalefactory.com>
27 lines
684 B
YAML
27 lines
684 B
YAML
{{ if .Values.cm.create }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "argocd-notifications.configMapName" . }}
|
|
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 }}
|