mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 19:26:51 +02:00
Wait for microk8s before attempting to install further things
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
until /snap/bin/microk8s.status --wait-ready;
|
||||||
|
do sleep 3; echo "waiting for worker status..";
|
||||||
|
done
|
||||||
|
|
||||||
/snap/bin/microk8s helm repo add 2martens https://repo.2martens.de/charts/
|
/snap/bin/microk8s helm repo add 2martens https://repo.2martens.de/charts/
|
||||||
/snap/bin/microk8s helm install setup 2martens/cluster_setup --values /run/tmpfiles.d/cluster-setup-values.yaml
|
/snap/bin/microk8s helm install setup 2martens/cluster_setup --values /run/tmpfiles.d/cluster-setup-values.yaml
|
||||||
%{ if high_availability ~}
|
%{ if high_availability ~}
|
||||||
|
|||||||
Reference in New Issue
Block a user