Skip to content

Commit f2a99bb

Browse files
authored
isolate permissions of e2e stackset-controller to its own namespace to avoid clashes (#567)
1 parent d0f7901 commit f2a99bb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

e2e/apply/rbac.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: stackset-controller
66
---
77
apiVersion: rbac.authorization.k8s.io/v1
8-
kind: ClusterRole
8+
kind: Role
99
metadata:
1010
name: stackset-controller
1111
rules:
@@ -103,14 +103,13 @@ rules:
103103
- patch
104104
---
105105
apiVersion: rbac.authorization.k8s.io/v1
106-
kind: ClusterRoleBinding
106+
kind: RoleBinding
107107
metadata:
108108
name: stackset-controller-e2e
109109
roleRef:
110110
apiGroup: rbac.authorization.k8s.io
111-
kind: ClusterRole
111+
kind: Role
112112
name: stackset-controller
113113
subjects:
114114
- kind: ServiceAccount
115115
name: stackset-controller
116-
namespace: {{{NAMESPACE}}}

0 commit comments

Comments
 (0)