Go to file
Charles Martinot b11dd57338 Remove name option 2017-01-17 11:04:10 +08:00
Dockerfile First version 2017-01-13 18:07:48 +08:00
README.md Add namespace option 2017-01-16 10:00:29 +08:00
update.sh Remove name option 2017-01-17 11:04:10 +08:00

README.md

Kubernetes plugin for drone.io

This plugin allows to update a Kubernetes deployment.

Usage

This pipeline will update the my-deployment deployment with the image tagged DRONE_COMMIT_SHA:8

pipeline:
    deploy:
        image: quay.io/honestbee/drone-kubernetes
        deployment: my-deployment
        repo: myorg/myrepo
        name: my-container
        namespace: default
        tag: ${DRONE_COMMIT_SHA:8}

Required secrets

drone secret add --image=honestbee/drone-kubernetes \
    your-user/your-repo KUBERNETES_SERVER https://mykubernetesapiserver


drone secret add --image=honestbee/drone-kubernetes \
    your-user/your-repo KUBERNETES_TOKEN eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJ...

To do

Replace the current kubectl bash script with a go implementation.

Special thanks

Inspired by drone-helm.