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:
parent
8a4c875295
commit
393402cb1b
16 changed files with 29 additions and 17 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue