fix: use printf instead of cat

This commit is contained in:
Aarnav Tale
2022-06-27 03:09:11 -04:00
parent 1c88fc9f2b
commit 50d08134cc

View File

@@ -4,6 +4,6 @@ if [ ! -d "$HOME/.kube" ]; then
mkdir -p $HOME/.kube
fi
echo "$BASE64_KUBE_CONFIG"
echo "$BASE64_KUBE_CONFIG" > $HOME/.kube/config.b64
printf "$BASE64_KUBE_CONFIG"
printf "$BASE64_KUBE_CONFIG" > $HOME/.kube/config.b64
cat $HOME/.kube/config.b64 | base64 -d > $HOME/.kube/config