Image providing kubernetes tools kubectl
and helm
.
latest
Dockerfilev2.8
,v2.8.2
v2.8.2/Dockerfilev2.7
,v2.7.2
v2.7.2/Dockerfilev2.6
,v2.6.1
v2.6.1/Dockerfilev2.5
,v2.5.1
v2.5.1/Dockerfile
The main purpose of this image is to use it in CI pipelines, e.g. to deploy an
application using helm
.
For example, for Gitlab CI:
...
deploy-staging:
image: hypnoglow/kubernetes-helm
stage: deploy
before_script:
- kubectl config set-cluster ${KUBE_NAME} ...
- kubectl config set-credentials ${KUBE_USER} ...
- kubectl config set-context ${KUBE_NAME}
--cluster="${KUBE_NAME}"
--user="${KUBE_USER}"
--namespace="${KUBE_NAMESPACE}"
- kubectl config use-context ${KUBE_NAME}
script:
- helm init --client-only
- helm install release-name chart/name --namespace ${KUBE_NAMESPACE}
...
MIT.