Skip to content

hypnoglow/docker-kubernetes-helm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

kubernetes-helm

Docker Pulls Docker Automated buil Docker Build Statu

Image providing kubernetes tools kubectl and helm.

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: 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}

...

License

MIT.