Drone is a Continuous Integration platform built on container technology with native Kubernetes support.
This Chart is for installing Drone server.
See the drone chart installation guide.
The drone server deployment can be used to leverage the Kubernetes secrets to configure values like DRONE_RPC_SECRET
or other source code repository e.g. DRONE_GITHUB_CLIENT_ID
, DRONE_GITHUB_CLIENT_SECRET
. Refer to the Drone server reference for a more complete list of options.
Here is an example that creates the secrets from environment variables DRONE_RPC_SECRET
, DRONE_GITHUB_CLIENT_ID
and DRONE_GITHUB_CLIENT_SECRET
,
kubectl create secret my-drone-secret generic \
--from-literal=DRONE_RPC_SECRET=$DRONE_RPC_SECRET \
--from-literal=DRONE_GITHUB_CLIENT_ID=$DRONE_GITHUB_CLIENT_ID \
--from-literal=DRONE_GITHUB_CLIENT_SECRET=$DRONE_GITHUB_CLIENT_SECRET
Once you have created the secret then you can refer to the secret in values.yaml
like,
...
extraSecretNamesForEnvFrom:
- my-drone-secret
...
See values.yaml to see the Chart's default values.
To adjust an existing Drone install's configuration:
# If you have a values file:
helm upgrade drone drone/drone --namespace drone --values drone-values.yaml
# If you want to change one value and don't have a values file:
helm upgrade drone drone/drone --namespace drone --reuse-values --set someKey=someVal
Read the release notes to make sure there are no backwards incompatible changes. Make adjustments to your values as needed, then run helm upgrade
:
# This pulls the latest version of the drone chart from the repo.
helm repo update
helm upgrade drone drone/drone --namespace drone --values drone-values.yaml
To uninstall/delete the drone
deployment in the drone
namespace:
helm delete drone --namespace drone
Substitute your values if they differ from the examples. See helm delete --help
for a full reference on delete
parameters and flags.
For questions, suggestions, and discussion, visit the Drone community site.