Revert granting EndpointSlice write access to edit role

This reverts part of the change introduced by #101203.
This commit is contained in:
Rob Scott 2021-07-13 22:13:07 -07:00
parent d6f2473d08
commit 6c61ee51b9
No known key found for this signature in database
GPG Key ID: D91A796D0CFF0C5D
2 changed files with 0 additions and 12 deletions

View File

@ -287,8 +287,6 @@ func ClusterRoles() []rbacv1.ClusterRole {
rbacv1helpers.NewRule(Write...).Groups(legacyGroup).Resources("replicationcontrollers", "replicationcontrollers/scale", "serviceaccounts",
"services", "services/proxy", "endpoints", "persistentvolumeclaims", "configmaps", "secrets", "events").RuleOrDie(),
rbacv1helpers.NewRule(Write...).Groups(discoveryGroup).Resources("endpointslices").RuleOrDie(),
rbacv1helpers.NewRule(Write...).Groups(appsGroup).Resources(
"statefulsets", "statefulsets/scale",
"daemonsets",

View File

@ -143,16 +143,6 @@ items:
- deletecollection
- patch
- update
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- create
- delete
- deletecollection
- patch
- update
- apiGroups:
- apps
resources: