fix: use vcluster chart from local repo
This commit is contained in:
@@ -15,7 +15,8 @@ yq ".clusters[]|select(.name|contains(\"$name-vcluster\")).name" ~/.kube/config
|
|||||||
|
|
||||||
if [ $? = 0 ]; then
|
if [ $? = 0 ]; then
|
||||||
$k get ns $ns >/dev/null 2>&1 || $k create ns $ns
|
$k get ns $ns >/dev/null 2>&1 || $k create ns $ns
|
||||||
helm template -n $ns $@ $name oceanbox/atlantis-vcluster | $k apply -f -
|
# helm template -n $ns $@ $name oceanbox/atlantis-vcluster | $k apply -f -
|
||||||
|
helm template -n $ns $@ $name ../charts/vcluster | $k apply -f -
|
||||||
|
|
||||||
echo "waiting for vcluster $name to appear... "
|
echo "waiting for vcluster $name to appear... "
|
||||||
while true; do
|
while true; do
|
||||||
|
|||||||
Reference in New Issue
Block a user