Version 0.9.0
Language EN

Plugin Installation

First, generate a shared secret key used to authenticate incoming requests, and encrypt the response body. The secret should be 32 bytes.

$ openssl rand -hex 16
558f3eacbfd5928157cbfe34823ab921

The plugin is distributed as a Docker container and can be started with the below command. In the below example the plugin is mapped to port 3000.

$ docker run \
    --env=SECRET_KEY=558f3eacbfd5928157cbfe34823ab921 \
    --volume=$HOME/.kube/config:/etc/kubernetes/config \
    --publish=3000:3000 \
    drone/kubernetes-secrets

If you are runnig Drone in single-server mode (e.g. no agents) you should pass the secret plugin endpoint and shared secret to the Drone server container:

$ docker run \
    --env=DRONE_SECRET_SECRET=558f3eacbfd5928157cbfe34823ab921 \
    --env=DRONE_SECRET_ENDPOINT=http://1.2.3.4:3000 \
    --name=drone \
    drone/drone

If you are running Drine in mutli-machine mode (e.g. with agents) you should pass the secret plugin endpoint ad shared secret to your agents:

$ docker run \
    --env=DRONE_SECRET_SECRET=558f3eacbfd5928157cbfe34823ab921 \
    --env=DRONE_SECRET_ENDPOINT=http://1.2.3.4:3000 \
    --name=agent \
    drone/agent

Getting Help

Enterprise Support
Real-time chat support from the developers that wrote the code.
Mailing List
Search for information in the mailing list archives, or post a question.