fix(argo-cd): Replace coalesce with merge for old config values (#1612)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
82b726bab5
commit
579f11407a
4 changed files with 6 additions and 6 deletions
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
name: argocd-cm
|
||||
labels:
|
||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cm") | nindent 4 }}
|
||||
{{- with (coalesce .Values.server.configAnnotations .Values.configs.cm.annotations) }}
|
||||
{{- with (mergeOverwrite (deepCopy .Values.configs.cm.annotations) (.Values.server.configAnnotations | default dict)) }}
|
||||
annotations:
|
||||
{{- range $key, $value := . }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue