Drone Chart Usage Guide
Drone is a modern Continuous Integration and Continuous Deployment (CI/CD) platform built on container technology. This chart lets you deploy Drone on Kubernetes easily.
- Official Website: https://drone.io
- GitHub Repository: https://github.com/harness/drone
- Documentation: https://docs.drone.io
- ArtifactHub: Drone Helm Chart
Why use this chart?
- Run CI/CD pipelines in your own Kubernetes cluster
- Community-maintained and up-to-date
- Supports plugins and custom runners
Installation
helm repo add community-charts https://community-charts.github.io/helm-charts
helm repo update
helm install my-drone community-charts/drone -n <your-namespace>
Replace <your-namespace>
with your target namespace.
tip
For advanced configuration, see the Configuration page.
Upgrading
helm upgrade my-drone community-charts/drone -n <your-namespace>
Uninstalling
helm uninstall my-drone -n <your-namespace>
This removes all Kubernetes resources created by the chart.
Example: Install with Gitea and Postgres
server:
ingress:
enabled: true
hosts:
- host: drone.example.com
paths:
- path: /
pathType: ImplementationSpecific
env:
DRONE_SERVER_HOST: drone.example.com
DRONE_SERVER_PROTO: http
DRONE_DATABASE_DRIVER: postgres
DRONE_GITEA_SERVER: http://gitea.example.com
secrets:
DRONE_DATABASE_DATASOURCE: "postgres://postgres:postgres@postgres-service:5432/postgres?sslmode=disable"
DRONE_GITEA_CLIENT_ID: <client-id>
DRONE_GITEA_CLIENT_SECRET: <client-secret>
DRONE_USER_CREATE: "username:testuser,admin:true"
DRONE_USER_FILTER: testuser
warning
Never store secrets in your git repository. Use Kubernetes secrets or Helm --set
for sensitive values.