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