Skip to content

Commit

Permalink
fix: add status subresource permission in clusterRole (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
gxthrj committed May 16, 2021
1 parent 5d479ae commit 4a55307
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions samples/deploy/rbac/apisix_view_clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,10 @@ rules:
- networking.k8s.io
resources:
- ingresses
- ingresses/status
- networkpolicies
verbs:
- get
- list
- watch
- '*'
- apiGroups:
- metrics.k8s.io
resources:
Expand All @@ -136,13 +135,14 @@ rules:
- apisix.apache.org
resources:
- apisixroutes
- apisixroutes/status
- apisixupstreams
- apisixupstreams/status
- apisixtlses
- apisixtlses/status
- apisixclusterconfigs
verbs:
- get
- list
- watch
- '*'
- apiGroups:
- coordination.k8s.io
resources:
Expand Down
12 changes: 6 additions & 6 deletions test/e2e/scaffold/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,10 @@ rules:
- networking.k8s.io
resources:
- ingresses
- ingresses/status
- networkpolicies
verbs:
- get
- list
- watch
- '*'
- apiGroups:
- metrics.k8s.io
resources:
Expand All @@ -152,14 +151,15 @@ rules:
- apisix.apache.org
resources:
- apisixroutes
- apisixroutes/status
- apisixupstreams
- apisixupstreams/status
- apisixservices
- apisixtlses
- apisixtlses/status
- apisixclusterconfigs
verbs:
- get
- list
- watch
- '*'
- apiGroups:
- coordination.k8s.io
resources:
Expand Down

0 comments on commit 4a55307

Please sign in to comment.