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: - ""