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

     1  {{- if and .Values.notifications.enabled .Values.notifications.cm.create }}
     2  apiVersion: v1
     3  kind: ConfigMap
     4  metadata:
     5    name: argocd-notifications-cm
     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  data:
    10    context: |
    11      argocdUrl: {{ .Values.notifications.argocdUrl | quote }}
    12      {{- with .Values.notifications.context }}
    13        {{- toYaml . | nindent 4 }}
    14      {{- end }}
    15    {{- with .Values.notifications.notifiers }}
    16      {{- toYaml . | nindent 2 }}
    17    {{- end }}
    18    {{- with .Values.notifications.subscriptions }}
    19    subscriptions: |
    20      {{- toYaml . | nindent 4 }}
    21    {{- end }}
    22    {{- with .Values.notifications.templates }}
    23      {{- toYaml . | nindent 2 }}
    24    {{- end }}
    25    {{- with .Values.notifications.triggers }}
    26      {{- toYaml . | nindent 2 }}
    27    {{- end }}
    28  {{- end }}