File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,15 @@ RUN apk add --update bash
1515# copy all versions of kubectl to switch between them later.
1616COPY --from=builder kubectl1.15 /usr/local/bin/
1717COPY --from=builder kubectl1.14 /usr/local/bin/
18+ COPY --from=builder kubectl1.13 /usr/local/bin/
1819COPY --from=builder kubectl1.12 /usr/local/bin/
1920COPY --from=builder kubectl1.10 /usr/local/bin/
2021COPY --from=builder kubectl1.6 /usr/local/bin/
2122
2223# Set Default
2324COPY --from=builder kubectl1.14 /usr/local/bin/kubectl
2425
25- RUN chmod +x /usr/local/bin/kubectl /usr/local/bin/kubectl1.6 /usr/local/bin/kubectl1.10 /usr/local/bin/kubectl1.12 /usr/local/bin/kubectl1.14 /usr/local/bin/kubectl1.15
26+ RUN chmod +x /usr/local/bin/kubectl /usr/local/bin/kubectl1.6 /usr/local/bin/kubectl1.10 /usr/local/bin/kubectl1.12 /usr/local/bin/kubectl1.13 /usr/local/bin/kubectl1. 14 /usr/local/bin/kubectl1.15
2627
2728WORKDIR /
2829
Original file line number Diff line number Diff line change 7373# Determine appropriate kubectl version
7474if [[ " ${SERVER_VERSION} " -eq " 15" ]]; then
7575 KUBE_CTL=" 15"
76- elif [[ " ${SERVER_VERSION} " -le " 14" && " ${SERVER_VERSION} " -ge " 13 " ]]; then
76+ elif [[ " ${SERVER_VERSION} " -eq " 14" ]]; then
7777 KUBE_CTL=" 14"
78+ elif [[ " ${SERVER_VERSION} " -eq " 13" ]]; then
79+ KUBE_CTL=" 13"
7880elif [[ " ${SERVER_VERSION} " -le " 12" && " ${SERVER_VERSION} " -ge " 11" ]]; then
7981 KUBE_CTL=" 12"
8082elif [[ " ${SERVER_VERSION} " -le " 10" && " ${SERVER_VERSION} " -ge " 9" ]]; then
You can’t perform that action at this time.
0 commit comments