-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't deploy multiple Consul installations in separated namespaces #4246
Comments
Same is true for syncCatalog as it is also uses clusterrole and clusterrolebinding, modified them to role and rolebinding and got errors related to cluster scoped resources, despite I limited syncCatalog to a single namespace:
As a workaround I have updated syncCatalog clusterrole and clusterrolebinding names to be unique (added namespace name), but it surely not a good way to solve this |
We're experiencing the same issue. Curiously, the identical question was raised two years ago (#1250 for version 0.42), but we've been using version 1.1.x successfully to install Consul in multiple namespaces within one cluster. |
Community Note
Overview of the Issue
Context: I need to deploy multiple Consul installations in separate namespaces as we have several isolated development environments within the Kube cluster, where the Consul is a part of each isolated environment.
Reproduction Steps
The second command will fail with the following error:
The issue is that the chart contains some cluster-scoped resources - CRDs, ClusterRole's, ClusterRoleBinding's.
I was able to deploy multiple Consul instances by performing the following steps:
ClusterRole -> Role
ClusterRoleBinding -> RoleBinding
So, my questions are:
Expected behavior
The chart has native support to deploy multiple Consul instances.
The text was updated successfully, but these errors were encountered: