argocd-helm/charts/argocd-notifications/templates/secret.yaml
Vitaliy e141b401fe
Fixed #570: YAML parse error in argocd-notifications/templates/secret.yaml (#573)
Signed-off-by: Vitaliy Fuks <vitaliyf@users.noreply.github.com>

Co-authored-by: Alexander Matyushentsev <Alexander_Matyushentsev@intuit.com>
2021-02-09 16:56:44 -08:00

13 lines
314 B
YAML

{{ if .Values.secret.create }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "argocd-notifications.name" . }}-secret
labels:
{{- include "argocd-notifications.labels" . | nindent 4 }}
type: Opaque
stringData:
{{- with .Values.secret.items }}
{{ toYaml . | nindent 2 }}
{{- end }}
{{- end }}