From bf313b1549cc405e3cc3348a4cc71b31d6716e14 Mon Sep 17 00:00:00 2001 From: Joel Gotsch Date: Sun, 13 Apr 2025 23:07:07 +0200 Subject: [PATCH] add endpoints resources to postgres-pod --- .../operator-service-account-rbac-openshift.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/manifests/operator-service-account-rbac-openshift.yaml b/manifests/operator-service-account-rbac-openshift.yaml index e966e0abd..4c77e5025 100644 --- a/manifests/operator-service-account-rbac-openshift.yaml +++ b/manifests/operator-service-account-rbac-openshift.yaml @@ -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: - ""