fix(argo-cd): Fix global log level configuration (#2213)
fix(argo-cd) - Fix global log level configuration Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
b9c7b3104a
commit
51e2210631
2 changed files with 4 additions and 4 deletions
|
|
@ -198,7 +198,7 @@ NOTE: Configuration keys must be stored as dict because YAML treats dot as separ
|
|||
{{- end -}}
|
||||
{{- range $component := tuple "applicationsetcontroller" "controller" "server" "reposerver" -}}
|
||||
{{- $_ := set $presets (printf "%s.log.format" $component) $.Values.global.logging.format -}}
|
||||
{{- $_ := set $presets (printf "%s.log.format" $component) $.Values.global.logging.format -}}
|
||||
{{- $_ := set $presets (printf "%s.log.level" $component) $.Values.global.logging.level -}}
|
||||
{{- end -}}
|
||||
{{- if .Values.applicationSet.enabled -}}
|
||||
{{- $_ := set $presets "applicationsetcontroller.enable.leader.election" (gt (.Values.applicationSet.replicaCount | int64) 1) -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue