From 857a2fac0757728afafbcbe9dcb6cfd2cacaa1ba Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 18 Aug 2020 11:45:33 +0200 Subject: [PATCH] dev-install.sh: fix idempotency, add instructions to source env --- dev-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-install.sh b/dev-install.sh index 6af9e38dc..e2ce6e691 100755 --- a/dev-install.sh +++ b/dev-install.sh @@ -106,7 +106,7 @@ EOF . /etc/profile.d/k3s.sh # Set default namespace to wormhole to make it easier to reset without deleting the cluster. -kubectl create namespace wormhole +! kubectl create namespace wormhole use-namespace wormhole # Trick tilt into not pushing images by pretending to be docker-desktop @@ -120,3 +120,7 @@ while ! k3s kubectl get all; do systemctl status k3s.service sleep 5 done + +echo "Done! You have to reopen your shell or source the new profile scripts:" +echo " source /etc/profile.d/k3s.sh" +echo " source /etc/profile.d/buildkit.sh"