
* support annotations on secret objects Signed-off-by: Marcial White <marcial@kaskada.com> * true-up artifacthub changes Signed-off-by: Marcial White <marcial@kaskada.com> Co-authored-by: Marko Bevc <marko@scalefactory.com>
19 lines
466 B
YAML
19 lines
466 B
YAML
{{ if .Values.secret.create }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: argocd-notifications-secret
|
|
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 }}
|