github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/argo-cd/templates/argocd-configs/argocd-notifications-secret.yaml (about)

     1  {{- if and .Values.notifications.enabled .Values.notifications.secret.create }}
     2  apiVersion: v1
     3  kind: Secret
     4  metadata:
     5    name: argocd-notifications-secret
     6    namespace: {{ .Release.Namespace | quote }}
     7    labels:
     8      {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
     9      {{- with .Values.notifications.secret.labels }}
    10        {{- toYaml . | nindent 4 }}
    11      {{- end }}
    12    {{- with .Values.notifications.secret.annotations }}
    13    annotations:
    14      {{- range $key, $value := . }}
    15      {{ $key }}: {{ $value | quote }}
    16      {{- end }}
    17    {{- end }}
    18  type: Opaque
    19  stringData:
    20    {{- with .Values.notifications.secret.items }}
    21      {{- toYaml . | nindent 2 }}
    22    {{- end }}
    23  {{- end }}