-
Notifications
You must be signed in to change notification settings - Fork 228
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
Add rancher2_namespace_project_assignment resource #891
Comments
+1 |
+1 Anybody found any workaround for this? I got four K8s clusters to import with LOTS of namespaces in them. |
I have used rancher cli in null_resource provisioner resource "null_resource" "project_namespace_assignment" {
} #scripts/k8s-rancher-namespace.sh set -x DIR=/tmp/$project_id echo $rancher_cli2json | base64 --decode > $FILE rancher --config $DIR namespace move $namespace $project_id rm -rf $DIR` |
It would be very helpful to add a
rancher2_namespace_project_assignment
resource to move a namespace into a project.For imported clusters that already have namespaces, you can't create rancher2_namespace on top of the existing ones.
The text was updated successfully, but these errors were encountered: