feat(argo-workflows): Add ability to set .Values.namespaceOverride (#2564)

This commit is contained in:
Aikawa 2024-03-04 04:12:41 +09:00 committed by GitHub
parent de462b7e80
commit 1af4bf5f48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 43 additions and 30 deletions

View file

@ -189,3 +189,11 @@ Return the appropriate apiVersion for GKE resources
{{- print "cloud.google.com/v1beta1" -}}
{{- end -}}
{{- end -}}
{{/*
Expand the namespace of the release.
Allows overriding it for multi-namespace deployments in combined charts.
*/}}
{{- define "argo-workflows.namespace" -}}
{{- default .Release.Namespace .Values.namespaceOverride | trunc 63 | trimSuffix "-" -}}
{{- end }}