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
|
@ -3,7 +3,7 @@ appVersion: v2.12.2
|
||||||
kubeVersion: ">=1.25.0-0"
|
kubeVersion: ">=1.25.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 7.4.5
|
version: 7.4.6
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -27,4 +27,4 @@ annotations:
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Bump argo-cd to v2.12.2
|
description: Support string type of "true" for `statusbadge.enabled`
|
||||||
|
|
|
@ -183,7 +183,7 @@ Argo Configuration Preset Values (Influenced by Values configuration)
|
||||||
{{- define "argo-cd.config.cm.presets" -}}
|
{{- define "argo-cd.config.cm.presets" -}}
|
||||||
{{- $presets := dict -}}
|
{{- $presets := dict -}}
|
||||||
{{- $_ := set $presets "url" (printf "https://%s" .Values.global.domain) -}}
|
{{- $_ := 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) -}}
|
{{- $_ := set $presets "statusbadge.url" (printf "https://%s/" .Values.global.domain) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if .Values.configs.styles -}}
|
{{- if .Values.configs.styles -}}
|
||||||
|
|
Loading…
Reference in a new issue