postgres-operator-examples
postgres-operator-examples copied to clipboard
Operator deployed via Helm fails with missing PDB permissions
After deploying the postgres-operator via the Helm chart in helm/install the operator pod reports:
time="2022-01-26T12:37:41Z" level=info msg="Starting EventSource" file="sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:165" func="controller.(*Controller).Start.func1" reconciler group=postgres-operator.crunchydata.com reconciler kind=PostgresCluster source="kind source: /, Kind=" version=5.0.4
E0126 12:37:41.306676 1 reflector.go:138] k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1beta1.PodDisruptionBudget: failed to list *v1beta1.PodDisruptionBudget: poddisruptionbudgets.policy is forbidden: User "system:serviceaccount:dev:pgo" cannot list resource "poddisruptionbudgets" in API group "policy" in the namespace "dev"