Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Eks 1.12 (#9)
Browse files Browse the repository at this point in the history
* add support for EKS 1.12

* switch to official repository for kubectl

* fix typo
  • Loading branch information
deanillfeld authored Mar 29, 2019
1 parent db95c2d commit 1b933a0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 10 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 && \
Expand Down

0 comments on commit 1b933a0

Please sign in to comment.