Merge pull request #49716 from danwinship/cloud-endpoints

Fix some confused cloud-controller documentation
This commit is contained in:
Kubernetes Prow Robot 2025-02-17 08:12:22 -08:00 committed by GitHub
commit 4a91fc56ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 17 deletions

View File

@ -106,14 +106,10 @@ routes appropriately. It requires Get access to Node objects.
### Service controller {#authorization-service-controller} ### Service controller {#authorization-service-controller}
The service controller watches for Service object **create**, **update** and **delete** events and then The service controller watches for Service object **create**, **update** and **delete** events and then
configures Endpoints for those Services appropriately (for EndpointSlices, the configures load balancers for those Services appropriately.
kube-controller-manager manages these on demand).
To access Services, it requires **list**, and **watch** access. To update Services, it requires To access Services, it requires **list**, and **watch** access. To update Services, it requires
**patch** and **update** access. **patch** and **update** access to the `status` subresource.
To set up Endpoints resources for the Services, it requires access to **create**, **list**,
**get**, **watch**, and **update**.
`v1/Service`: `v1/Service`:
@ -173,9 +169,14 @@ rules:
- services - services
verbs: verbs:
- list - list
- watch
- apiGroups:
- ""
resources:
- services/status
verbs:
- patch - patch
- update - update
- watch
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@ -191,16 +192,6 @@ rules:
- list - list
- update - update
- watch - watch
- apiGroups:
- ""
resources:
- endpoints
verbs:
- create
- get
- list
- watch
- update
``` ```