This is an automated email from the ASF dual-hosted git repository.
zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new 6cc718bb helm: update deploy cluster role (#1131)
6cc718bb is described below
commit 6cc718bb85a3d61f3702ba0514e5408d48a873da
Author: Sarasa Kisaragi <[email protected]>
AuthorDate: Wed Jul 27 17:47:18 2022 +0800
helm: update deploy cluster role (#1131)
---
samples/deploy/rbac/apisix_view_clusterrole.yaml | 246 +++++++++--------------
1 file changed, 99 insertions(+), 147 deletions(-)
diff --git a/samples/deploy/rbac/apisix_view_clusterrole.yaml
b/samples/deploy/rbac/apisix_view_clusterrole.yaml
index db2878db..c3472b27 100644
--- a/samples/deploy/rbac/apisix_view_clusterrole.yaml
+++ b/samples/deploy/rbac/apisix_view_clusterrole.yaml
@@ -20,150 +20,102 @@ kind: ClusterRole
metadata:
name: apisix-view-clusterrole
rules:
-- apiGroups:
- - ""
- resources:
- - events
- verbs:
- - "*"
-- apiGroups:
- - ""
- resources:
- - configmaps
- - endpoints
- - persistentvolumeclaims
- - pods
- - replicationcontrollers
- - replicationcontrollers/scale
- - serviceaccounts
- - services
- - secrets
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - ""
- resources:
- - bindings
- - limitranges
- - namespaces/status
- - pods/log
- - pods/status
- - replicationcontrollers/status
- - resourcequotas
- - resourcequotas/status
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - ""
- resources:
- - namespaces
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - apps
- resources:
- - controllerrevisions
- - daemonsets
- - deployments
- - deployments/scale
- - replicasets
- - replicasets/scale
- - statefulsets
- - statefulsets/scale
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - autoscaling
- resources:
- - horizontalpodautoscalers
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - batch
- resources:
- - cronjobs
- - jobs
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - extensions
- resources:
- - daemonsets
- - deployments
- - deployments/scale
- - ingresses
- - networkpolicies
- - replicasets
- - replicasets/scale
- - replicationcontrollers/scale
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - policy
- resources:
- - poddisruptionbudgets
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - networking.k8s.io
- resources:
- - ingresses
- - ingresses/status
- - networkpolicies
- verbs:
- - '*'
-- apiGroups:
- - metrics.k8s.io
- resources:
- - pods
- verbs:
- - get
- - list
- - watch
-- apiGroups:
- - apisix.apache.org
- resources:
- - apisixroutes
- - apisixroutes/status
- - apisixupstreams
- - apisixupstreams/status
- - apisixtlses
- - apisixtlses/status
- - apisixclusterconfigs
- - apisixclusterconfigs/status
- - apisixconsumers
- - apisixconsumers/status
- - apisixpluginconfigs
- - apisixpluginconfigs/status
- verbs:
- - '*'
-- apiGroups:
- - coordination.k8s.io
- resources:
- - leases
- verbs:
- - '*'
-- apiGroups:
- - discovery.k8s.io
- resources:
- - endpointslices
- verbs:
- - get
- - list
- - watch
+ - apiGroups:
+ - ""
+ resources:
+ - events
+ verbs:
+ - "*"
+ - apiGroups:
+ - ""
+ resources:
+ - configmaps
+ - endpoints
+ - pods
+ - services
+ - secrets
+ verbs:
+ - get
+ - list
+ - watch
+ - apiGroups:
+ - ""
+ resources:
+ - namespaces
+ verbs:
+ - get
+ - list
+ - watch
+ - apiGroups:
+ - extensions
+ resources:
+ - ingresses
+ verbs:
+ - get
+ - list
+ - watch
+ - apiGroups:
+ - networking.k8s.io
+ resources:
+ - ingresses
+ verbs:
+ - get
+ - list
+ - watch
+ - apiGroups:
+ - networking.k8s.io
+ resources:
+ - ingresses/status
+ verbs:
+ - update
+ - apiGroups:
+ - apisix.apache.org
+ resources:
+ - apisixroutes
+ - apisixroutes/status
+ - apisixupstreams
+ - apisixupstreams/status
+ - apisixtlses
+ - apisixtlses/status
+ - apisixclusterconfigs
+ - apisixclusterconfigs/status
+ - apisixconsumers
+ - apisixconsumers/status
+ - apisixpluginconfigs
+ - apisixpluginconfigs/status
+ verbs:
+ - '*'
+ - apiGroups:
+ - coordination.k8s.io
+ resources:
+ - leases
+ verbs:
+ - '*'
+ - apiGroups:
+ - discovery.k8s.io
+ resources:
+ - endpointslices
+ verbs:
+ - get
+ - list
+ - watch
+ - apiGroups:
+ - gateway.networking.k8s.io
+ resources:
+ - httproutes
+ - tlsroutes
+ - gateways
+ - gatewayclasses
+ verbs:
+ - get
+ - list
+ - watch
+ - apiGroups:
+ - gateway.networking.k8s.io
+ resources:
+ - httproutes/status
+ - tlsroutes/status
+ - gateways/status
+ - gatewayclasses/status
+ verbs:
+ - update