Skip to content

Running the operator in namespace scoped mode #2069

Open
@achanda

Description

@achanda
  • Which image of the operator are you using?
    registry.opensource.zalan.do/acid/postgres-operator:v1.8.2-17-gb48034d7-dev
  • Where do you run it - cloud or metal? Kubernetes or OpenShift?
    minikube, using run_operator_locally.sh
  • Are you running Postgres Operator in production? [yes | no]
    no
  • Type of issue? [Bug report, question, feature request, etc.]
    Question

Is there a way to run this operator in a single namespace mode so that it does not require cluster-wide permissions? I am aware of the watched_namespace setting. I tried setting that to a namespace that I created and ran the operator using the script as described above. But it still created a bunch of clusterrole and clusterrolebindings. I am looking for a k8s manifest that sets up the operator only with namespace scoped role and rolebindings.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions