Skip to content

Commit

Permalink
isolate permissions of e2e stackset-controller to its own namespace t…
Browse files Browse the repository at this point in the history
…o avoid clashes (#567)
  • Loading branch information
linki authored Jan 30, 2024
1 parent d0f7901 commit f2a99bb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions e2e/apply/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: stackset-controller
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
kind: Role
metadata:
name: stackset-controller
rules:
Expand Down Expand Up @@ -103,14 +103,13 @@ rules:
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
kind: RoleBinding
metadata:
name: stackset-controller-e2e
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
kind: Role
name: stackset-controller
subjects:
- kind: ServiceAccount
name: stackset-controller
namespace: {{{NAMESPACE}}}

0 comments on commit f2a99bb

Please sign in to comment.