fix: Declare subject namespaces
This commit is contained in:
parent
f144751bb8
commit
ececbe0c6b
1 changed files with 2 additions and 1 deletions
|
|
@ -301,7 +301,6 @@ extraObjects:
|
||||||
annotations:
|
annotations:
|
||||||
workflows.argoproj.io/rbac-rule: "true"
|
workflows.argoproj.io/rbac-rule: "true"
|
||||||
workflows.argoproj.io/rbac-rule-precedence: "0"
|
workflows.argoproj.io/rbac-rule-precedence: "0"
|
||||||
|
|
||||||
- apiVersion: rbac.authorization.k8s.io/v1
|
- apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
|
|
@ -309,6 +308,7 @@ extraObjects:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: admin-user
|
name: admin-user
|
||||||
|
namespace: argocd-workflows
|
||||||
roleRef:
|
roleRef:
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: argo-workflows-admin
|
name: argo-workflows-admin
|
||||||
|
|
@ -320,6 +320,7 @@ extraObjects:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: read-only
|
name: read-only
|
||||||
|
namespace: argocd-workflows
|
||||||
roleRef:
|
roleRef:
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: argo-workflows-view
|
name: argo-workflows-view
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue