File tree 3 files changed +40
-0
lines changed
3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ruby:2.3
2
+
3
+ RUN apt-get update && apt-get install -y curl
4
+
5
+ ARG KUBECTL_VERSION="1.10.3"
6
+ ARG KUBECTL_BUILD_DATE="2018-07-26"
7
+
8
+ RUN curl -L https://amazon-eks.s3-us-west-2.amazonaws.com/${KUBECTL_VERSION}/${KUBECTL_BUILD_DATE}/bin/linux/amd64/kubectl > /usr/local/bin/kubectl \
9
+ && chmod +x /usr/local/bin/kubectl
10
+
11
+ # install aws-iam-authenticator
12
+ RUN curl -L "https://amazon-eks.s3-us-west-2.amazonaws.com/${KUBECTL_VERSION}/${KUBECTL_BUILD_DATE}/bin/linux/amd64/aws-iam-authenticator" > /usr/local/bin/aws-iam-authenticator \
13
+ && chmod +x /usr/local/bin/aws-iam-authenticator
14
+
15
+ COPY env_var_helper_client.sh env_var_helper_client.rb ./
16
+ RUN chmod +x env_var_helper_client.sh
17
+
18
+ ENTRYPOINT ["./env_var_helper_client.sh"]
19
+
Original file line number Diff line number Diff line change 3
3
image : codeship/kubectl
4
4
dockerfile : Dockerfile
5
5
encrypted_env_file : k8s-env.encrypted
6
+
7
+ eks-kubectl :
8
+ build :
9
+ image : codeship/eks-kubectl
10
+ dockerfile : Dockerfile.eks
11
+ encrypted_env_file : k8s-env.encrypted
Original file line number Diff line number Diff line change 2
2
command : kubectl config view
3
3
service : kubectl
4
4
5
+ - name : check response to kubectl configi for eks
6
+ command : kubectl config view
7
+ service : eks-kubectl
8
+
9
+ - name : check response to aws-iam-authenticator
10
+ command : aws-iam-authenticator
11
+ service : eks-kubectl
12
+
5
13
- name : push codeship/kubectl
6
14
tag : master
7
15
type : push
8
16
service : kubectl
9
17
image_name : codeship/kubectl
10
18
encrypted_dockercfg_path : dockercfg.encrypted
19
+
20
+ - name : push codeship/eks-kubectl
21
+ tag : master
22
+ type : push
23
+ service : eks-kubectl
24
+ image_name : codeship/eks-kubectl
25
+ encrypted_dockercfg_path : dockercfg.encrypted
You can’t perform that action at this time.
0 commit comments