mirror of
https://codeberg.org/27/inception-of-things.git
synced 2025-12-31 21:56:41 +01:00
🔨 chore: add KUBECONFIG check (and reword it)
Signed-off-by: dyn <oss+dyn@xtrm.me>
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user