Skip to content

Commit e5a3c9d

Browse files
Revert due to a bug in the deployment file parse logic
The latest commit didn't cause the bug itself, but revealed one that we had since long ago. We have to revert for now to unblock a customer, while fix is getting ready
2 parents 19cad78 + ca63b65 commit e5a3c9d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cf-deploy-kubernetes.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ else
7272
SERVER_VERSION=$(kubectl version --short=true --context "${KUBECONTEXT}" | grep -i server | cut -d ':' -f2 | cut -d '.' -f2 | sed 's/[^0-9]*//g')
7373
echo "Server minor version: $SERVER_VERSION"
7474
if (( "$SERVER_VERSION" <= "6" )); then cp -f /usr/local/bin/kubectl1.6 /usr/local/bin/kubectl; fi 2>/dev/null
75-
if (( "$SERVER_VERSION" == "11" )); then cp -f /usr/local/bin/kubectl1.11 /usr/local/bin/kubectl; fi 2>/dev/null
76-
if (( "$SERVER_VERSION" == "12" )); then cp -f /usr/local/bin/kubectl1.12 /usr/local/bin/kubectl; fi 2>/dev/null
77-
if (( "$SERVER_VERSION" == "13" )); then cp -f /usr/local/bin/kubectl1.13 /usr/local/bin/kubectl; fi 2>/dev/null
7875
if (( "$SERVER_VERSION" == "14" )); then cp -f /usr/local/bin/kubectl1.14 /usr/local/bin/kubectl; fi 2>/dev/null
7976
if (( "$SERVER_VERSION" >= "15" )); then cp -f /usr/local/bin/kubectl1.15 /usr/local/bin/kubectl; fi 2>/dev/null
8077
[ ! -f "${deployment_file}" ] && echo "Couldn't find $deployment_file file at $(pwd)" && exit 1;

0 commit comments

Comments
 (0)