Image providing kubernetes tools kubectl
,
helm
, helmfile
, kustomize
, werf
.
latest
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: evgkrsk/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 install release-name chart/name --namespace ${KUBE_NAMESPACE}
...
MIT.