feat(argo-events): Support ability to set .Values.namespaceOverride (#2594)

* feat(argo-events): Support ability to set .Values.namespaceOverride

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argo-events): update README

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
Aikawa 2024-03-23 20:06:54 +09:00 committed by GitHub
parent 8a4c875295
commit 393402cb1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 29 additions and 17 deletions

View file

@ -136,3 +136,11 @@ Define Pdb apiVersion
{{- printf "policy/v1beta1" -}}
{{- end }}
{{- end }}
{{/*
Expand the namespace of the release.
Allows overriding it for multi-namespace deployments in combined charts.
*/}}
{{- define "argo-events.namespace" -}}
{{- default .Release.Namespace .Values.namespaceOverride | trunc 63 | trimSuffix "-" -}}
{{- end }}