You've already forked drone-charts
Compare commits
65 Commits
Author | SHA1 | Date | |
---|---|---|---|
881a60e985 | |||
b15af09698 | |||
e8471d1840 | |||
791b203796 | |||
2cbb6947ed | |||
1de3c715e6 | |||
e598193777 | |||
a49fd13ac2 | |||
5fe2609314 | |||
6ebdca3970 | |||
ede225288c | |||
dcacf99978 | |||
28b1302f2a | |||
523ae650b1 | |||
d4092ab2d9 | |||
438bbd841d | |||
d744b25896 | |||
5c59f7f008 | |||
1df541babe | |||
256c89189c | |||
fb973cb65c | |||
308106d55a | |||
3295554206 | |||
fcf454a9b0 | |||
01b837a504 | |||
7975755f0d | |||
b00f2abe99 | |||
fe73b1f56f
|
|||
eab9cb0937 | |||
53fdf15c0c | |||
0bde0ba71e | |||
5a1096469a | |||
a4883494dd | |||
336db54d7d | |||
0a5f0b5072 | |||
ab3cf7b670
|
|||
d63429a719 | |||
ac14080899 | |||
08a707dec1 | |||
43b844efd5
|
|||
96f609652c
|
|||
8614ca8e89
|
|||
2026906827 | |||
608605320e | |||
12db483afe | |||
0370c865c4 | |||
548e37f758 | |||
aae4092f7b
|
|||
c93bc34fc7
|
|||
ac72d688ea
|
|||
fdb778896c
|
|||
cb6a5021c8 | |||
d26bfdea13 | |||
6547aee98e | |||
b774b08dec | |||
207c9d702b | |||
df7bb19b58 | |||
bf13179edf
|
|||
efcab94223 | |||
e26ba6e113 | |||
5a3deb5f55 | |||
d549a4b637 | |||
dc03395b66
|
|||
bc9a4ea4a4 | |||
8be7f9c4da
|
62
.drone.yml
62
.drone.yml
@ -3,44 +3,61 @@ kind: pipeline
|
||||
type: kubernetes
|
||||
name: linter
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
|
||||
- name: helm lint
|
||||
commands:
|
||||
- helm lint
|
||||
image: docker.io/volkerraschek/helm:3.8.2
|
||||
image: git.cryptic.systems/volker.raschek/helm:3.13.3
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
memory: 50M
|
||||
cpu: 150
|
||||
memory: 150M
|
||||
|
||||
- name: markdown lint
|
||||
commands:
|
||||
- markdownlint *.md
|
||||
image: docker.io/volkerraschek/markdownlint:0.31.1
|
||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.38.0
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
memory: 50M
|
||||
cpu: 150
|
||||
memory: 150M
|
||||
|
||||
- name: helm template
|
||||
commands:
|
||||
- helm template .
|
||||
image: git.cryptic.systems/volker.raschek/helm:3.13.3
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
memory: 150M
|
||||
|
||||
- name: email-notification
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
SMTP_FROM_ADDRESS:
|
||||
from_secret: smtp_from_address
|
||||
SMTP_FROM_NAME:
|
||||
from_secret: smtp_from_name
|
||||
SMTP_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
SMTP_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
image: docker.io/drillster/drone-email:latest
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
memory: 25M
|
||||
cpu: 150
|
||||
memory: 150M
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
@ -52,26 +69,35 @@ trigger:
|
||||
- tag
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: release
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
|
||||
- name: release-helm-chart
|
||||
commands:
|
||||
- helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
|
||||
- helm repo add drone https://charts.cryptic.systems/drone
|
||||
- helm package --version ${DRONE_TAG} .
|
||||
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz volker.raschek
|
||||
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone
|
||||
environment:
|
||||
HELM_REPO_PASSWORD:
|
||||
from_secret: helm_repo_password
|
||||
HELM_REPO_USERNAME:
|
||||
from_secret: helm_repo_username
|
||||
image: docker.io/volkerraschek/helm:3.8.2
|
||||
image: git.cryptic.systems/volker.raschek/helm:3.13.3
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
memory: 150M
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
@ -3,15 +3,16 @@ name: drone
|
||||
description: Drone Helm chart for Kubernetes
|
||||
type: application
|
||||
version: "0.7.1"
|
||||
appVersion: "2.12.0"
|
||||
appVersion: "2.22.0"
|
||||
icon: https://readme.drone.io/logo.svg
|
||||
|
||||
keywords:
|
||||
- git
|
||||
- continuous-delivery
|
||||
- continuous-deployment
|
||||
- continuous-integration
|
||||
- drone
|
||||
- drone-runner
|
||||
- ci
|
||||
- cd
|
||||
- git
|
||||
|
||||
sources:
|
||||
- https://github.com/volker-raschek/drone-charts
|
||||
|
32
README.md
32
README.md
@ -1,26 +1,39 @@
|
||||
# drone-charts
|
||||
|
||||
[](https://drone.cryptic.systems/volker.raschek/drone-charts)
|
||||
[](https://artifacthub.io/packages/search?repo=volker-raschek)
|
||||
[](https://artifacthub.io/packages/search?repo=drone-ce)
|
||||
|
||||
This is an inofficial helm chart for [drone](https://github.com/drone/drone) and
|
||||
should replace the official unmainted helm chart
|
||||
[repository](https://github.com/drone/charts). The official does not support
|
||||
version `v2` of drone.
|
||||
was created because the official helmet chart was not maintained for a long
|
||||
time - [Issue](https://github.com/drone/charts/issues/46).
|
||||
|
||||
This helm chart can be found on [artifacthub.io](https://artifacthub.io/) and
|
||||
can be installed via helm.
|
||||
This helm chart is maintained by contributors and myself. It is listed on
|
||||
[artifacthub.io](https://artifacthub.io/) and can be installed via helm:
|
||||
|
||||
> The repository has been changed and causes error messages when interacting
|
||||
> with the old repository definition. Please remove the chart repo
|
||||
> `volker.raschek` and replace it with `drone`.
|
||||
|
||||
```bash
|
||||
helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
|
||||
helm install drone volker.raschek/drone
|
||||
helm repo add drone https://charts.cryptic.systems/drone
|
||||
helm install drone drone/drone
|
||||
```
|
||||
|
||||
## Customization
|
||||
|
||||
All [configuration options](https://docs.drone.io/server/reference/) can be
|
||||
defined in the `values.yml` file below the `config` section. Alternatively can
|
||||
be the options passed via the `--set` flag of the `helm install` command.
|
||||
be the options passed via the `--set` flag of the `helm install` command. For
|
||||
example:
|
||||
|
||||
```bash
|
||||
helm install drone drone/drone \
|
||||
--set config.DRONE_RPC_SECRET-${DRONE_RPC_SECRET} \
|
||||
--set config.DRONE_GITHUB_CLIENT_ID=${DRONE_GITHUB_CLIENT_ID} \
|
||||
--set config.DRONE_GITHUB_CLIENT_SECRET=${DRONE_GITHUB_CLIENT_SECRET}
|
||||
```
|
||||
|
||||
### List of config options
|
||||
|
||||
| value | reference |
|
||||
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
||||
@ -83,6 +96,7 @@ be the options passed via the `--set` flag of the `helm install` command.
|
||||
| `config.DRONE_SERVER_PROXY_HOST` | [Documentation](https://docs.drone.io/server/reference/drone-server-proxy-host) |
|
||||
| `config.DRONE_SERVER_PROXY_PROTO` | [Documentation](https://docs.drone.io/server/reference/drone-server-proxy-proto) |
|
||||
| `config.DRONE_STARLARK_ENABLED` | [Documentation](https://docs.drone.io/server/reference/drone-starlark-enabled) |
|
||||
| `config.DRONE_STARLARK_SIZE_LIMIT` | [Documentation](https://github.com/harness/drone/pull/3291) |
|
||||
| `config.DRONE_STARLARK_STEP_LIMIT` | [Documentation](https://docs.drone.io/server/reference/drone-starlark-step-limit) |
|
||||
| `config.DRONE_STASH_CONSUMER_KEY` | [Documentation](https://docs.drone.io/server/reference/drone-stash-consumer-key) |
|
||||
| `config.DRONE_STASH_PRIVATE_KEY` | [Documentation](https://docs.drone.io/server/reference/drone-stash-private-key) |
|
||||
|
@ -1,3 +1,4 @@
|
||||
{{- if .Values.persistence.enabled -}}
|
||||
{{ if and (.Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3") (not .Values.persistence.existingClaim) }}
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
@ -15,3 +16,4 @@ spec:
|
||||
storageClassName: {{ .Values.persistence.storageClass | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
19
values.yaml
19
values.yaml
@ -2,8 +2,6 @@
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: docker.io/drone/drone
|
||||
pullPolicy: IfNotPresent
|
||||
@ -546,14 +544,14 @@ ingress:
|
||||
# cert-manager.io/issuer:
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
hosts:
|
||||
- host: "your-hostname"
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
- host: "your-hostname"
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- secretName: "your-tls-secret"
|
||||
hosts:
|
||||
- "your-hostname"
|
||||
- secretName: "your-tls-secret"
|
||||
hosts:
|
||||
- "your-hostname"
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
@ -576,11 +574,12 @@ affinity: {}
|
||||
# persistence is only required when config.DATABASE_DRIVER is sqlite3 or
|
||||
# undefined.
|
||||
persistence:
|
||||
enabled: true
|
||||
annotation: {}
|
||||
# existingClaim:
|
||||
size: 5Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadWriteOnce
|
||||
labels: {}
|
||||
# storageClass:
|
||||
|
||||
|
Reference in New Issue
Block a user