Skip to content

Postgres Operator crashes #270

@chrkspr

Description

@chrkspr

Postgres Operator crashes when installed with helm.

Used commit: ae45267

values.yaml:

singleNamespace: true

Error logs from pgo:

k -n  mynamespace logs -l postgres-operator.crunchydata.com/control-plane=pgo
...
W0610 15:19:38.052551       1 reflector.go:324] k8s.io/client-go@v0.24.2/tools/cache/reflector.go:167: failed to list *v1beta1.CrunchyBridgeCluster: crunchybridgeclusters.postgres-operator.crunchydata.com is forbidden: User "system:serviceaccount:mynamespace:pgo" cannot list resource "crunchybridgeclusters" in API group "postgres-operator.crunchydata.com" in the namespace "mynamespace"
...

"runchybridgeclusters" is missing in kubernetes role pgo (https://github.com/CrunchyData/postgres-operator-examples/blob/main/helm/install/templates/role.yaml).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions