add endpoints resource to postgres-operator ClusterRole

This commit is contained in:
Joel Gotsch 2025-04-13 22:27:23 +02:00 committed by GitHub
parent 68c4b49636
commit e4f6589212
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 0 deletions

View File

@ -59,6 +59,20 @@ rules:
- get
- patch
- update
# to create endpoints to services
- apiGroups:
- ""
resources:
- endpoints
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
# to read configuration and manage ConfigMaps used by Patroni
- apiGroups:
- ""