From b8d1203b0dd4415ae87ef975e4d12148f78f3e0e Mon Sep 17 00:00:00 2001 From: Miroslav Hadzhiev Date: Fri, 2 Sep 2022 09:20:43 +0300 Subject: [PATCH] Update setup.sh --- bin/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/setup.sh b/bin/setup.sh index 9e75277..dfbfa9d 100644 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -66,11 +66,11 @@ if ! `"$EXEC_DIR"/kubectl version --client=true 2>/dev/null | grep -q "$KUBECTL_ yes | sudo cp "$CACHE_DIR"/kubectl "$EXEC_DIR/kubectl" >/dev/null 2>&1 fi echo -e "\n${LIGHT_GREEN}kubectl installed:${NC}" && \ - "$EXEC_DIR/kubectl" version --client=true && \ + "$EXEC_DIR/kubectl" version --client=true --output=yaml && \ source <("$EXEC_DIR/kubectl" completion bash 2>/dev/null) else echo -e "\n${LIGHT_GREEN}kubectl present:${NC}" && \ - "$EXEC_DIR/kubectl" version --client=true && \ + "$EXEC_DIR/kubectl" version --client=true --output=yaml && \ source <("$EXEC_DIR/kubectl" completion bash 2>/dev/null) fi