Deploy operator in multiple namespaces #6646
Unanswered
popdaniel942
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Kubernetes is not multi-tenant. So running multiple separate instances of the operator will be always tricky. In this case, the ClusterRoles need to stay and you need to normally use the ClusterRoles from the newest operator version you use. As for the ClusterRoleBindings, their names to not matter, so you can just rename them as you wish. The reason why they are named with version is that it would make it harder to delete them during upgrades and it wouldn't really solcve the main issues in running multiple operators in parallel. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I've tried deploying the operator with Helm in multiple namespaces and the only way I managed to do it was by creating global resources in the first deployment and without creating them in the second deployment. The problem seems to be because of ClusterRoles and ClusterRoleBindings because they would have the same name if they are created in 2 deployments. Can't they be changed so that they have the Release.Name in front of all of their names or something like that so each deployment would have their own ClusterRoles and ClusterRoleBindings?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions