fix: make create cluster more flexible and robust

This commit is contained in:
Jonas Juselius
2024-04-22 10:26:37 +02:00
parent 62d65e5573
commit ba2b1d9b2c
4 changed files with 40 additions and 17 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
vcluster connect $1-vcluster -n $1-vcluster \
--context oceanbox \
--update-current=true \
--kube-config-context-name $1-vcluster \
--insecure --cluster-role cluster-admin \
--service-account kube-system/admin \
--server https://$1-vcluster.beta.oceanbox.io