From 565ae8850da3c84ed3dd06fb7ade1246ac8e5e5b Mon Sep 17 00:00:00 2001 From: Kosta Kirov <76045173+kosta1221@users.noreply.github.com> Date: Wed, 4 May 2022 02:24:09 +0300 Subject: [PATCH] update aws-iam-authenticator version to 0.5.7 It has support for v1beta1 api which is needed for kubectl 1.24 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 46286cb..03b4682 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM amazon/aws-cli RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl && \ - curl -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.21.2/2021-07-05/bin/linux/amd64/aws-iam-authenticator && \ + curl -L -o /usr/local/bin/aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.5.7/aws-iam-authenticator_0.5.7_linux_amd64 && \ chmod +x /usr/local/bin/aws-iam-authenticator && \ chmod +x ./kubectl && \ mv ./kubectl /usr/bin/kubectl