feat(argo-cd): Pre-set statusbadge.url value to global.domain (#2657)

This commit is contained in:
Bojan Raic 2024-04-21 22:54:13 +02:00 committed by GitHub
parent 895b26a3cb
commit 7ad09a972f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -164,6 +164,7 @@ Argo Configuration Preset Values (Incluenced by Values configuration)
{{- define "argo-cd.config.cm.presets" -}}
{{- $presets := dict -}}
{{- $_ := set $presets "url" (printf "https://%s" .Values.global.domain) -}}
{{- $_ := set $presets "statusbadge.url" (printf "https://%s/" .Values.global.domain) -}}
{{- if .Values.configs.styles -}}
{{- $_ := set $presets "ui.cssurl" "./custom/custom.styles.css" -}}
{{- end -}}