aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-05-01 16:15:03 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-05-01 16:15:03 +0200
commitac18e5a68698db7657e036ba5f2910b4ccf209ab (patch)
treecabe2b0a1897f04bb0eee51eba9897ead33933b4
parent2b3b95b267c20e2b593b3f1157c09cdc34bedcf1 (diff)
Use stable v1.21
Change-Id: If0413d6252bade49222c8ee00f30e79dd82f1203 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--docker/cnf/Dockerfile2
-rw-r--r--docker/healthcheck/Dockerfile2
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/cnf/Dockerfile b/docker/cnf/Dockerfile
index 289424b3..33efa67d 100644
--- a/docker/cnf/Dockerfile
+++ b/docker/cnf/Dockerfile
@@ -5,7 +5,7 @@ ARG CNF_CONFORMANCE_TAG=v0.9.19
ARG HELM_TAG=v3.3.1
RUN apk --no-cache add --update wget curl libc6-compat && \
- tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/latest-$K8S_TAG.txt) && \
+ tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable-$K8S_TAG.txt) && \
case $(uname -m) in armv7l) arch=arm;; aarch64) arch=arm64;; x86_64) arch=amd64;; esac && \
curl https://storage.googleapis.com/kubernetes-release/release/$tag/bin/linux/$arch/kubectl \
--output /usr/local/bin/kubectl && \
diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile
index 1d05f807..3c35e082 100644
--- a/docker/healthcheck/Dockerfile
+++ b/docker/healthcheck/Dockerfile
@@ -3,7 +3,7 @@ FROM opnfv/functest-kubernetes-core:v1.21
ARG K8S_TAG=1.21
RUN apk --no-cache add --update curl libc6-compat && \
- tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/latest-$K8S_TAG.txt) && \
+ tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable-$K8S_TAG.txt) && \
case $(uname -m) in armv7l) arch=arm;; aarch64) arch=arm64;; x86_64) arch=amd64;; esac && \
curl https://storage.googleapis.com/kubernetes-release/release/$tag/bin/linux/$arch/kubectl \
-s --output /usr/local/bin/kubectl && \