You've already forked drone-charts
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
0370c865c4 | |||
548e37f758 | |||
aae4092f7b
|
|||
c93bc34fc7
|
|||
ac72d688ea
|
|||
fdb778896c
|
|||
cb6a5021c8 | |||
d26bfdea13 | |||
6547aee98e | |||
b774b08dec |
@ -11,7 +11,7 @@ steps:
|
|||||||
- name: helm lint
|
- name: helm lint
|
||||||
commands:
|
commands:
|
||||||
- helm lint
|
- helm lint
|
||||||
image: docker.io/volkerraschek/helm:3.9.2
|
image: docker.io/volkerraschek/helm:3.10.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -20,7 +20,7 @@ steps:
|
|||||||
- name: markdown lint
|
- name: markdown lint
|
||||||
commands:
|
commands:
|
||||||
- markdownlint *.md
|
- markdownlint *.md
|
||||||
image: docker.io/volkerraschek/markdownlint:0.32.1
|
image: docker.io/volkerraschek/markdownlint:0.32.2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -29,7 +29,7 @@ steps:
|
|||||||
- name: helm template
|
- name: helm template
|
||||||
commands:
|
commands:
|
||||||
- helm template .
|
- helm template .
|
||||||
image: docker.io/volkerraschek/helm:3.9.2
|
image: docker.io/volkerraschek/helm:3.10.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -81,7 +81,7 @@ steps:
|
|||||||
from_secret: helm_repo_password
|
from_secret: helm_repo_password
|
||||||
HELM_REPO_USERNAME:
|
HELM_REPO_USERNAME:
|
||||||
from_secret: helm_repo_username
|
from_secret: helm_repo_username
|
||||||
image: docker.io/volkerraschek/helm:3.9.2
|
image: docker.io/volkerraschek/helm:3.10.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
|
@ -3,15 +3,16 @@ name: drone
|
|||||||
description: Drone Helm chart for Kubernetes
|
description: Drone Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: "0.7.1"
|
version: "0.7.1"
|
||||||
appVersion: "2.12.1"
|
appVersion: "2.13.0"
|
||||||
icon: https://readme.drone.io/logo.svg
|
icon: https://readme.drone.io/logo.svg
|
||||||
|
|
||||||
keywords:
|
keywords:
|
||||||
- git
|
- continuous-delivery
|
||||||
|
- continuous-deployment
|
||||||
|
- continuous-integration
|
||||||
- drone
|
- drone
|
||||||
- drone-runner
|
- drone-runner
|
||||||
- ci
|
- git
|
||||||
- cd
|
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/volker-raschek/drone-charts
|
- https://github.com/volker-raschek/drone-charts
|
||||||
|
21
README.md
21
README.md
@ -4,12 +4,11 @@
|
|||||||
[](https://artifacthub.io/packages/search?repo=volker-raschek)
|
[](https://artifacthub.io/packages/search?repo=volker-raschek)
|
||||||
|
|
||||||
This is an inofficial helm chart for [drone](https://github.com/drone/drone) and
|
This is an inofficial helm chart for [drone](https://github.com/drone/drone) and
|
||||||
should replace the official unmainted helm chart
|
was created because the official helmet chart was not maintained for a long
|
||||||
[repository](https://github.com/drone/charts). The official does not support
|
time - [Issue](https://github.com/drone/charts/issues/46).
|
||||||
version `v2` of drone.
|
|
||||||
|
|
||||||
This helm chart can be found on [artifacthub.io](https://artifacthub.io/) and
|
This helm chart is maintained by contributors and myself. It is listed on
|
||||||
can be installed via helm.
|
[artifacthub.io](https://artifacthub.io/) and can be installed via helm:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
|
helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
|
||||||
@ -20,7 +19,17 @@ helm install drone volker.raschek/drone
|
|||||||
|
|
||||||
All [configuration options](https://docs.drone.io/server/reference/) can be
|
All [configuration options](https://docs.drone.io/server/reference/) can be
|
||||||
defined in the `values.yml` file below the `config` section. Alternatively can
|
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 volker.raschek/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 |
|
| value | reference |
|
||||||
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{- if .Values.persistence.enabled -}}
|
||||||
{{ if and (.Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3") (not .Values.persistence.existingClaim) }}
|
{{ if and (.Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3") (not .Values.persistence.existingClaim) }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
@ -15,3 +16,4 @@ spec:
|
|||||||
storageClassName: {{ .Values.persistence.storageClass | quote }}
|
storageClassName: {{ .Values.persistence.storageClass | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end -}}
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
# This is a YAML-formatted file.
|
# This is a YAML-formatted file.
|
||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
replicaCount: 1
|
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: docker.io/drone/drone
|
repository: docker.io/drone/drone
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
@ -576,6 +574,7 @@ affinity: {}
|
|||||||
# persistence is only required when config.DATABASE_DRIVER is sqlite3 or
|
# persistence is only required when config.DATABASE_DRIVER is sqlite3 or
|
||||||
# undefined.
|
# undefined.
|
||||||
persistence:
|
persistence:
|
||||||
|
enabled: true
|
||||||
annotation: {}
|
annotation: {}
|
||||||
# existingClaim:
|
# existingClaim:
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
|
Reference in New Issue
Block a user