Hello,
not sure if this is a bug or a misconfiguration on my side. I would like to deploy two (or more) instances of jupyterhub into the same cluster. The two jupyterhub deployments would operate in separate namespaces and are created using helm. This works well, as long as I do not install into a second (pre-created) namespace.
On helm install into the second namespace I get the following error:
Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole “jupyterhub-user-scheduler” 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 “namespace-1”: current value is “namespace2”
In this case, I 'helm installe’d into namespace namespace1 first, and afterwards (additionally) into namespace2.
Removing ClusterRole and ClusterRoleBinding would enable me to helm install into namespace2. Unfortunately, it seems only a single namespace can be catered by that at any time. Is there a configuration option to get around this problem?
Kind regards, Micha