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

     1  apiVersion: v1
     2  kind: ConfigMap
     3  metadata:
     4    name: argocd-tls-certs-cm
     5    namespace: {{ .Release.Namespace | quote }}
     6    labels:
     7      {{- include "argo-cd.labels" (dict "context" . "name" "tls-certs-cm") | nindent 4 }}
     8    {{- with (mergeOverwrite (deepCopy .Values.configs.tls.annotations) (.Values.configs.tlsCertsAnnotations | default dict)) }}
     9    annotations:
    10      {{- range $key, $value := . }}
    11      {{ $key }}: {{ $value | quote }}
    12      {{- end }}
    13    {{- end }}
    14  {{- if hasKey .Values.configs "tlsCerts" }}
    15    {{- with .Values.configs.tlsCerts }}
    16      {{- toYaml . | nindent 0 }}
    17    {{- end }}
    18  {{- else }}
    19  {{- with .Values.configs.tls.certificates }}
    20  data:
    21    {{- toYaml . | nindent 2 }}
    22  {{- end }}
    23  {{- end }}