Sign inSign up

enix/ci-toolbox

By enix

Updated 6 months ago

Image
1

10K+

enix/ci-toolbox repository overview

Ci-Toolbox Docker image

A toolbox for your CI jobs when using Kubernetes.

This image includes those tools:

  • Kubectl
  • Kustomize
  • Helm (+ diff and unittest plugins)
  • Helmfile
  • Kubeseal (Sealed-Secrets)
  • envsubst, jq, yg, curl, git...

See below for versions mapping

How to use

With docker CLI
docker run --rm -it --net=host -v "${KUBECONFIG:-$HOME/.kube/config}:/root/.kube/config" enix/ci-toolbox:1.21 kubectl get nodes
With Gitlab-CI

Example of gitlab-ci.yml:

deploy-dev:
image: enix/ci-toolbox:1.21
stage: deploy
environment:
    name: my-env
script:
- for f in ./deploy/*.yaml; do envsubst < $f | kubectl -n $KUBE_NAMESPACE apply -f -; done
- helm -n $KUBE_NAMESPACE install my-app
- helmfile apply

Versions mapping

TagKubectlKustomizeHelmHelmfileKubeseal
1.181.18.194.1.33.6.00.139.70.16.0
1.191.19.114.1.33.6.00.139.70.16.0
1.201.20.74.1.33.6.00.139.70.16.0
1.211.21.14.1.33.6.00.139.70.16.0
Version policy

Kubectl is always the latest patch version for the Kubernetes minor. All other tools are at the latest version compatible with the Kubernetes version.

Tag summary

Content type

Image

Digest

sha256:b6c86fa27

Size

344.3 MB

Last updated

6 months ago

docker pull enix/ci-toolbox:1.33