🔨 chore: add KUBECONFIG check (and reword it)

Signed-off-by: dyn <oss+dyn@xtrm.me>
This commit is contained in:
dyn committed 2025-12-18 14:06:18 +01:00
1 parent 49b642ed4f
commit 8a95776286
2 files changed
+12 -1

No files matched your search

+4 -1
View File
@@ -1,7 +1,10 @@
#!/usr/bin/env sh #!/usr/bin/env sh
if [ -z "$KUBECONFIG" ]; then if [ -z "$KUBECONFIG" ]; then
echo "KUBECONFIG is not set" echo "KUBECONFIG is not set!"
echo
echo "You can add it to your .bashrc or .zshrc:"
echo '> export KUBECONFIG="$HOME/.kube/config"'
exit 1 exit 1
fi fi
+8
View File
@@ -1,5 +1,13 @@
#!/usr/bin/env sh #!/usr/bin/env sh
if [ -z "$KUBECONFIG" ]; then
echo "KUBECONFIG is not set!"
echo
echo "You can add it to your .bashrc or .zshrc:"
echo '> export KUBECONFIG="$HOME/.kube/config"'
exit 1
fi
k3d cluster create inception-of-things k3d cluster create inception-of-things
# Setup a metrics-server to prevent dumb errors # Setup a metrics-server to prevent dumb errors