Skip to content

Commit

Permalink
removed ENV subst
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian.Berzins committed Nov 2, 2016
1 parent 03175e0 commit 863b4ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
FROM alpine

RUN apk add --update libintl && \
apk add --virtual build_deps gettext && \
cp /usr/bin/envsubst /usr/local/bin/envsubst && \
apk del gettext
RUN mkdir /root/.kube
ADD https://storage.googleapis.com/kubernetes-release/release/v1.4.1/bin/linux/amd64/kubectl /usr/local/bin/kubectl
RUN chmod a+x /usr/local/bin/kubectl
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
### kubectl

Contains the kubectl command for running against kubernetes.

This also contains envsbst for setting up the `~/.kube/config` by injecting
environment variables. This allows for injection of secrets into the config
file without the secrets being shown in plain text, allowing them to be part
of a CI/CD pipeline who's output is visible.
contains:
- kubectl for executing kubernetes commands
- the `~/.kube/` directory

0 comments on commit 863b4ce

Please sign in to comment.