Skip to content

Commit

Permalink
fix: Update RBAC roles
Browse files Browse the repository at this point in the history
  • Loading branch information
rg0now committed May 18, 2024
1 parent 220b32b commit a299980
Showing 1 changed file with 34 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: stunner-gateway-operator-manager-role
name: manager-role
rules:
- apiGroups:
- apps
Expand All @@ -60,6 +60,15 @@ rules:
- patch
- update
- watch
- apiGroups:
- apps
resources:
- deployments/finalizers
- deployments/status
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand All @@ -81,22 +90,20 @@ rules:
- apiGroups:
- ""
resources:
- deployments/finalizers
- deployments/status
- endpoints/status
- nodes/status
- services/status
- endpoints
- namespaces
- nodes
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- endpoints
- namespaces
- nodes
- secrets
- endpoints/status
- nodes/status
- services/status
verbs:
- get
- list
Expand All @@ -113,6 +120,22 @@ rules:
- patch
- update
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices/status
verbs:
- get
- list
- watch
- apiGroups:
- gateway.networking.k8s.io
resources:
Expand Down Expand Up @@ -150,12 +173,11 @@ rules:
- apiGroups:
- stunner.l7mp.io
resources:
- dataplanes/finalizers
- gatewayconfigs/finalizers
- staticservices/finalizers
- udproutes/finalizers
- udproutes/status
verbs:
- patch
- update
---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit a299980

Please sign in to comment.