Uploaded image for project: 'Percona Operator for PostgreSQL'
  1. Percona Operator for PostgreSQL
  2. K8SPG-152

The operator can't be deployed in disabled/readonly namespace mode

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • None
    • 1.2.0
    • None
    • None
    • Yes

    Description

      Hi,

      I have faced the issue when I tried to deploy  operator in disabled/readonly namespace mode. From log:

      E1209 15:41:28.369474 1 reflector.go:138] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1.PerconaPGCluster: failed to list *v1.PerconaPGCluster: perconapgclusters.pg.percona.com is forbidden: User "system:serviceaccount:pgo1:postgres-operator" cannot list resource "perconapgclusters" in API group "pg.percona.com" in the namespace "pgo"

      Attachments

        Activity

          People

            slava.sarzhan Slava Sarzhan
            slava.sarzhan Slava Sarzhan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist