Skip to content

Commit

Permalink
update rbac role: read
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Oct 27, 2019
1 parent e8471ff commit 2582e11
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 6 deletions.
23 changes: 20 additions & 3 deletions manifests/dashboard/read-user-sa-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@ rules:
resources:
- configmaps
- endpoints
- nodes
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
- pods
- replicationcontrollers
- replicationcontrollers/scale
- serviceaccounts
- services
- nodes
- persistentvolumeclaims
- persistentvolumes
- services/status
verbs:
- get
- list
Expand Down Expand Up @@ -69,12 +70,18 @@ rules:
- apiGroups:
- apps
resources:
- controllerrevisions
- daemonsets
- daemonsets/status
- deployments
- deployments/scale
- deployments/status
- replicasets
- replicasets/scale
- replicasets/status
- statefulsets
- statefulsets/scale
- statefulsets/status
verbs:
- get
- list
Expand All @@ -83,6 +90,7 @@ rules:
- autoscaling
resources:
- horizontalpodautoscalers
- horizontalpodautoscalers/status
verbs:
- get
- list
Expand All @@ -91,7 +99,9 @@ rules:
- batch
resources:
- cronjobs
- cronjobs/status
- jobs
- jobs/status
verbs:
- get
- list
Expand All @@ -100,12 +110,16 @@ rules:
- extensions
resources:
- daemonsets
- daemonsets/status
- deployments
- deployments/scale
- deployments/status
- ingresses
- ingresses/status
- networkpolicies
- replicasets
- replicasets/scale
- replicasets/status
- replicationcontrollers/scale
verbs:
- get
Expand All @@ -115,13 +129,16 @@ rules:
- policy
resources:
- poddisruptionbudgets
- poddisruptionbudgets/status
verbs:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
- ingresses/status
- networkpolicies
verbs:
- get
Expand Down
23 changes: 20 additions & 3 deletions roles/deploy/files/read-group-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ rules:
resources:
- configmaps
- endpoints
- nodes
- persistentvolumes
- persistentvolumeclaims
- persistentvolumeclaims/status
- pods
- replicationcontrollers
- replicationcontrollers/scale
- serviceaccounts
- services
- nodes
- persistentvolumeclaims
- persistentvolumes
- services/status
verbs:
- get
- list
Expand Down Expand Up @@ -62,12 +63,18 @@ rules:
- apiGroups:
- apps
resources:
- controllerrevisions
- daemonsets
- daemonsets/status
- deployments
- deployments/scale
- deployments/status
- replicasets
- replicasets/scale
- replicasets/status
- statefulsets
- statefulsets/scale
- statefulsets/status
verbs:
- get
- list
Expand All @@ -76,6 +83,7 @@ rules:
- autoscaling
resources:
- horizontalpodautoscalers
- horizontalpodautoscalers/status
verbs:
- get
- list
Expand All @@ -84,7 +92,9 @@ rules:
- batch
resources:
- cronjobs
- cronjobs/status
- jobs
- jobs/status
verbs:
- get
- list
Expand All @@ -93,12 +103,16 @@ rules:
- extensions
resources:
- daemonsets
- daemonsets/status
- deployments
- deployments/scale
- deployments/status
- ingresses
- ingresses/status
- networkpolicies
- replicasets
- replicasets/scale
- replicasets/status
- replicationcontrollers/scale
verbs:
- get
Expand All @@ -108,13 +122,16 @@ rules:
- policy
resources:
- poddisruptionbudgets
- poddisruptionbudgets/status
verbs:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
- ingresses/status
- networkpolicies
verbs:
- get
Expand Down

0 comments on commit 2582e11

Please sign in to comment.