add endpoints resources to postgres-pod

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

View File

@ -256,6 +256,19 @@ kind: ClusterRole
metadata:
name: postgres-pod
rules:
# to create endpoints to services
- apiGroups:
- ""
resources:
- endpoints
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
# Patroni needs to watch and manage config maps
- apiGroups:
- ""