chore(argo-cd): Support string type of "true" for statusbadge.enabled (#2895)
Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
991579f324
commit
66615c347a
2 changed files with 3 additions and 3 deletions
|
|
@ -183,7 +183,7 @@ Argo Configuration Preset Values (Influenced by Values configuration)
|
|||
{{- define "argo-cd.config.cm.presets" -}}
|
||||
{{- $presets := dict -}}
|
||||
{{- $_ := set $presets "url" (printf "https://%s" .Values.global.domain) -}}
|
||||
{{- if index .Values.configs.cm "statusbadge.enabled" | eq true -}}
|
||||
{{- if eq (toString (index .Values.configs.cm "statusbadge.enabled")) "true" -}}
|
||||
{{- $_ := set $presets "statusbadge.url" (printf "https://%s/" .Values.global.domain) -}}
|
||||
{{- end -}}
|
||||
{{- if .Values.configs.styles -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue