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

@ -1,5 +1,5 @@
{{- if .Values.workflow.serviceAccount.create -}}
{{- range $namespace := or .Values.singleNamespace false | ternary (list "") (append .Values.controller.workflowNamespaces (coalesce .Values.workflow.namespace .Release.Namespace) | uniq) }}
{{- range $namespace := or .Values.singleNamespace false | ternary (list "") (append .Values.controller.workflowNamespaces (coalesce .Values.workflow.namespace (include "argo-workflows.namespace" .)) | uniq) }}
---
apiVersion: v1
kind: ServiceAccount