-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
-
Which image of the operator are you using?
registry.opensource.zalan.do/acid/postgres-operator:v1.7.0 -
Where do you run it - cloud or metal? Kubernetes or OpenShift?
Openshift 4.7 -
Are you running Postgres Operator in production?
yes -
Type of issue?
Bug report
{"cluster-name":"mynamespace/myapp-postgres-cluster","level":"error","msg":"could not create cluster: could not create master endpoint: could not create master endpoint: endpoints is forbidden: User \"system:serviceaccount:mynamespace:postgresql-operator-postgres-operator\" cannot create resource \"endpoints\" in API group \"\" in the namespace \"mynamespace\"","pkg":"controller","time":"2021-09-01T16:18:48Z","worker":0}
Missing RBAC perms for cluster_operator when used with the following values:
values:
enableJsonLogging: true
configGeneral:
kubernetes_use_configmaps: true
Most likely because of this if case: https://github.com/zalando/postgres-operator/blob/master/charts/postgres-operator/templates/clusterrole.yaml#L60
adrianchifor and mt-inside