Skip to content

Commit f48fb70

Browse files
removing if for kubectl set
1 parent a457780 commit f48fb70

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

cf-deploy-kubernetes.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,9 @@ else
8787
exit 1
8888
fi
8989

90-
# Assign kubectl version unless default
91-
if [[ "${KUBE_CTL}" != "14" ]]; then
92-
echo "Setting kubectl to version 1.${KUBE_CTL}"
93-
cp -f "/usr/local/bin/kubectl1.${KUBE_CTL}" /usr/local/bin/kubectl
94-
fi
90+
# Assign kubectl version
91+
echo "Setting kubectl to version 1.${KUBE_CTL}"
92+
cp -f "/usr/local/bin/kubectl1.${KUBE_CTL}" /usr/local/bin/kubectl
9593

9694
# Simple testing logic for making sure versions are set
9795
if [[ -n "${KUBE_CTL_TEST_VERSION}" ]]; then

0 commit comments

Comments
 (0)