From 1b933a0d2b373825991b76a8cdf7ef3e1e3d755b Mon Sep 17 00:00:00 2001 From: deanillfeld <12975475+deanillfeld@users.noreply.github.com> Date: Fri, 29 Mar 2019 16:59:10 +1100 Subject: [PATCH] Eks 1.12 (#9) * add support for EKS 1.12 * switch to official repository for kubectl * fix typo --- CHANGELOG.md | 10 ++++++++++ Dockerfile | 13 ++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b4ec5e..317ea36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.0] - 2019-03-29 +### Removed +- Removed support for EKS 1.10 + +### Added +- Added support for EKS 1.12 + +### Updated +- kubectl to 1.12.7 + ## [0.4.0] - 2019-03-29 ### Updated diff --git a/Dockerfile b/Dockerfile index d1ef8bd..7bec49c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.9 #Versions -ENV KUBECTL_VERSION="1.11.9/2019-03-27" +ENV KUBECTL_VERSION="1.12.7/2019-03-27" ENV AWS_VERSION="1.16.111" ENV HELM_VERSION="2.12.3" ENV HELM_TILLER_VERSION="0.6.7" @@ -13,10 +13,17 @@ ENV VELERO_VERSION="0.11.0" RUN apk add --update --no-cache bash bash-completion curl git groff make ca-certificates less jq python3 fzf ncurses coreutils gettext-dev #kubectl -RUN curl -L https://amazon-eks.s3-us-west-2.amazonaws.com/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \ +#Amazon have missed uploading kubectl 1.12.7 to the S3 bucket. Will use official repository until they fix it. + +# RUN curl -L https://amazon-eks.s3-us-west-2.amazonaws.com/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \ +# curl -L https://amazon-eks.s3-us-west-2.amazonaws.com/${KUBECTL_VERSION}/bin/linux/amd64/aws-iam-authenticator -o /usr/local/bin/aws-iam-authenticator && \ +# chmod +x /usr/local/bin/kubectl && \ +# chmod +x /usr/local/bin/aws-iam-authenticator + +RUN curl -L https://storage.googleapis.com/kubernetes-release/release/v1.12.7/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \ curl -L https://amazon-eks.s3-us-west-2.amazonaws.com/${KUBECTL_VERSION}/bin/linux/amd64/aws-iam-authenticator -o /usr/local/bin/aws-iam-authenticator && \ chmod +x /usr/local/bin/kubectl && \ - chmod +x /usr/local/bin/aws-iam-authenticator + chmod +x /usr/local/bin/aws-iam-authenticator #helm RUN curl -L https://storage.googleapis.com/kubernetes-helm/helm-v${HELM_VERSION}-linux-amd64.tar.gz | tar -xvz && \