2024-02-07 22:40:05 +01:00
|
|
|
{{- if .Values.configs.cm.create }}
|
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
|
2023-04-13 16:08:34 +02:00
|
|
|
namespace: {{ .Release.Namespace | quote }}
|
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 }}
|
2024-02-07 22:40:05 +01:00
|
|
|
{{- with .Values.configs.cm.annotations }}
|
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:
|
2022-10-29 21:08:16 +02:00
|
|
|
{{- include "argo-cd.config.cm" . | trim | nindent 2 }}
|
2022-09-21 09:32:06 +02:00
|
|
|
{{- end }}
|