STRIMZI_RBAC_SCOPE not working ? #9271
Replies: 2 comments 4 replies
-
You cannot get rid of the Cluster Roles and it was never possible. You can not create the ClusterRoleBindings - and if you don't use some features that need them, it will work fine. E.g. node port listeners or rack awareness. You do not need to set anything special. Just deploy it without the ClusterRoleBindings and do not use the features that need them. |
Beta Was this translation helpful? Give feedback.
-
Thank you for response Let me add a bit more context. I'm trying to utilize GitOps approach for our deployments, meaning that every time new branch is created, a new namespace in k8s is created with strimzi operator within it, in isolation from other namespaces. When I try to install strimzi operator in second namespace via below cmd: helm install my-strimzi-operator oci://quay.io/strimzi-helm/strimzi-kafka-operator it gives me below below error: Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "strimzi-cluster-operator-namespaced" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-namespace" must equal "feature_branch_experimental_2": current value is "feature_branch_experimental_1" Since I cannot get rid of ClusterRoles, how can I instruct strimzi to reuse existing cluster roles? Any advices are much appreciated. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have a need of setting up strimzi operator on several namespaces in my k8s. I want these deployments to be completely isolated from each other. To achieve it, I need to get rid of ClusterRoles created as part of strimzi operator deployment.
I found an enhancement under #3826, there is even regular pull request merged for it. Hoewer, the thing is, that setting this envar to NAMESPACE doesn't seem to do anything. Is my understanding of this feature incorrect, or am I missing something else?
Beta Was this translation helpful? Give feedback.
All reactions