diff --git a/charts/argo-workflows/templates/_helpers.tpl b/charts/argo-workflows/templates/_helpers.tpl index ad91e416..118f9a52 100644 --- a/charts/argo-workflows/templates/_helpers.tpl +++ b/charts/argo-workflows/templates/_helpers.tpl @@ -195,5 +195,5 @@ 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 }} +{{- default .Release.Namespace .Values.namespaceOverride | trunc 63 | trimSuffix "-" -}} {{- end }}