
* 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>
19 lines
488 B
YAML
19 lines
488 B
YAML
{{ if .Values.secret.create }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "argocd-notifications.secretName" . }}
|
|
labels:
|
|
{{- include "argocd-notifications.labels" . | nindent 4 }}
|
|
{{- if .Values.secret.annotations }}
|
|
annotations:
|
|
{{- range $key, $value := .Values.secret.annotations }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|
|
{{- end }}
|
|
type: Opaque
|
|
stringData:
|
|
{{- with .Values.secret.items }}
|
|
{{ toYaml . | nindent 2 }}
|
|
{{- end }}
|
|
{{- end }}
|