fix(argo-workflows): RBAC for namespaced workflows (#962)
* Fix to add sa role and rolebinding in case of seperate workflow namespace * Update Chart version to 0.7.2 Signed-off-by: Sanjay Tiwari <sanjay.180505@gmail.com> * Update Contribution file Signed-off-by: Sanjay Tiwari <sanjay.180505@gmail.com> * ADO SignOff Signed-off-by: Sanjay Tiwari <sanjay.180505@gmail.com> * ADO SignOff Signed-off-by: Sanjay Tiwari <sanjay.180505@gmail.com> * Update Chart with change log Signed-off-by: Sanjay Tiwari <sanjay.180505@gmail.com> * Restore Contribution.md Co-authored-by: Vlad Losev <vladlosev@users.noreply.github.com>
This commit is contained in:
parent
d6ec86fb65
commit
dbd8c20e1f
4 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{{- if .Values.workflow.rbac.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 (append .Values.controller.workflowNamespaces (coalesce .Values.workflow.namespace .Release.Namespace) | uniq) (list "") }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{{- if .Values.workflow.rbac.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 (append .Values.controller.workflowNamespaces (coalesce .Values.workflow.namespace .Release.Namespace) | uniq) (list "") }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
|
|
|
|||
|
|
@ -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 (append .Values.controller.workflowNamespaces (coalesce .Values.workflow.namespace .Release.Namespace) | uniq) (list "") }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue