argocd-helm/charts/argo-cd/templates/argocd-configs/argocd-cm.yaml

15 lines
468 B
YAML
Raw Normal View History

{{- if .Values.server.configEnabled }}
apiVersion: v1
2019-11-04 16:17:25 -08:00
kind: ConfigMap
metadata:
2019-11-04 16:17:25 -08:00
name: argocd-cm
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cm") | nindent 4 }}
{{- if .Values.server.configAnnotations }}
annotations:
{{- range $key, $value := .Values.server.configAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
data: {{- include "argo-cd.config" $ | nindent 4 }}
{{- end }}