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

     1  {{- if (hasKey .Values.server "configEnabled") | ternary .Values.server.configEnabled .Values.configs.cm.create }}
     2  apiVersion: v1
     3  kind: ConfigMap
     4  metadata:
     5    name: argocd-cm
     6    namespace: {{ .Release.Namespace | quote }}
     7    labels:
     8      {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cm") | nindent 4 }}
     9    {{- with (mergeOverwrite (deepCopy .Values.configs.cm.annotations) (.Values.server.configAnnotations | default dict)) }}
    10    annotations:
    11      {{- range $key, $value := . }}
    12      {{ $key }}: {{ $value | quote }}
    13      {{- end }}
    14    {{- end }}
    15  data:
    16    {{- include "argo-cd.config.cm" . | trim | nindent 2 }}
    17  {{- end }}