Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.28 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.28 KB

kubernetes-helm

Docker Pulls Docker Automated buil Docker Build Statu

Image providing kubernetes tools kubectl, helm, helmfile, kustomize, werf.

Supported tags and respective Dockerfile links

Overview

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}

...

License

MIT.