-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brian.Berzins
committed
Nov 2, 2016
1 parent
03175e0
commit 863b4ce
Showing
2 changed files
with
3 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |