Skip to content

Commit 0072a35

Browse files
shaneuttopenshift-merge-bot[bot]
authored andcommitted
feat: add the gwapi aggregated cluster roles
Signed-off-by: Shane Utt <[email protected]>
1 parent 81e314f commit 0072a35

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
kind: ClusterRole
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
metadata:
4+
name: system:openshift:gateway-api:aggregate-to-admin
5+
labels:
6+
rbac.authorization.k8s.io/aggregate-to-admin: "true"
7+
rbac.authorization.k8s.io/aggregate-to-edit: "true"
8+
rules:
9+
- apiGroups:
10+
- gateway.networking.k8s.io
11+
resources:
12+
- gateways
13+
verbs:
14+
- get
15+
- list
16+
- watch
17+
- apiGroups:
18+
- gateway.networking.k8s.io
19+
resources:
20+
- httproutes
21+
- grpcroutes
22+
verbs:
23+
- get
24+
- list
25+
- watch
26+
- create
27+
- update
28+
- patch
29+
- delete
30+
- deletecollection
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
kind: ClusterRole
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
metadata:
4+
name: system:openshift:gateway-api:aggregate-to-view
5+
labels:
6+
rbac.authorization.k8s.io/aggregate-to-view: "true"
7+
rules:
8+
- apiGroups:
9+
- gateway.networking.k8s.io
10+
resources:
11+
- gateways
12+
verbs:
13+
- get
14+
- list
15+
- watch
16+
- apiGroups:
17+
- gateway.networking.k8s.io
18+
resources:
19+
- httproutes
20+
- grpcroutes
21+
verbs:
22+
- get
23+
- list
24+
- watch

0 commit comments

Comments
 (0)