2021-03-08 12:30:24 -07:00
|
|
|
{{- if .Values.server.configEnabled }}
|
2019-02-14 00:22:11 +02:00
|
|
|
apiVersion: v1
|
2019-11-04 16:17:25 -08:00
|
|
|
kind: ConfigMap
|
2019-02-14 00:22:11 +02:00
|
|
|
metadata:
|
2019-11-04 16:17:25 -08:00
|
|
|
name: argocd-cm
|
2019-02-14 00:22:11 +02:00
|
|
|
labels:
|
2021-03-22 21:15:37 +01:00
|
|
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cm") | nindent 4 }}
|
2022-09-21 09:32:06 +02:00
|
|
|
{{- with .Values.server.configAnnotations }}
|
2020-07-12 16:56:48 +02:00
|
|
|
annotations:
|
2022-09-21 09:32:06 +02:00
|
|
|
{{- range $key, $value := . }}
|
2020-07-12 16:56:48 +02:00
|
|
|
{{ $key }}: {{ $value | quote }}
|
2022-09-21 09:32:06 +02:00
|
|
|
{{- end }}
|
2020-07-12 16:56:48 +02:00
|
|
|
{{- end }}
|
2022-09-21 09:32:06 +02:00
|
|
|
data:
|
|
|
|
|
{{- include "argo-cd.config" $ | nindent 2 }}
|
|
|
|
|
{{- end }}
|