Multi-namespace RBAC support (#60)
Signed-off-by: Jeff Fouchard <jeff.fouchard@fullscript.com>
This commit is contained in:
parent
e8c195854c
commit
8e324206f8
4 changed files with 22 additions and 3 deletions
|
|
@ -10,6 +10,13 @@ subjects:
|
|||
- kind: ServiceAccount
|
||||
name: argo-events-sa
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- if .Values.additionalSaNamespaces }}
|
||||
{{- range $namespace := .Values.additionalSaNamespaces }}
|
||||
- kind: ServiceAccount
|
||||
name: argo-events-sa
|
||||
namespace: {{ $namespace }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue