58 Commits
0.3.1 ... 0.7.7

Author SHA1 Message Date
43b844efd5 fix(README): add note about changed chart repo
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-13 21:34:11 +01:00
96f609652c fix(README): add note about changed chart repo
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-13 21:18:36 +01:00
8614ca8e89 fix: change repository
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-13 21:07:08 +01:00
2026906827 chore(deps): update dependency docker.io/volkerraschek/helm to v3.10.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-22 18:21:47 +01:00
608605320e chore(deps): update dependency drone to v2.15.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-28 11:41:14 +02:00
12db483afe chore(deps): update dependency docker.io/volkerraschek/helm to v3.10.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-16 13:11:32 +02:00
0370c865c4 chore(deps): update dependency drone to v2.13.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-21 22:02:26 +02:00
548e37f758 chore(deps): update dependency docker.io/volkerraschek/helm to v3.10.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-21 21:51:49 +02:00
aae4092f7b fix: keywords
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-10 20:27:31 +02:00
c93bc34fc7 doc(README): customization
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-10 20:24:44 +02:00
ac72d688ea style: correct indention
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-10 20:04:37 +02:00
fdb778896c [Close #11] fix: remove obsolete replicaCount
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-10 19:46:27 +02:00
cb6a5021c8 Merge pull request #10 from pi3ch/master
All checks were successful
continuous-integration/drone/push Build is passing
support for ephemeral storage
2022-09-10 19:41:53 +02:00
d26bfdea13 support for ephemeral storage 2022-09-10 10:16:50 +10:00
6547aee98e chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-30 18:51:42 +02:00
b774b08dec chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-21 16:54:15 +02:00
207c9d702b Merge pull request 'chore(deps): update dependency drone to v2.12.1' (#21) from renovate/drone-2.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #21
2022-07-26 15:53:24 +00:00
df7bb19b58 chore(deps): update dependency drone to v2.12.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-26 17:51:30 +02:00
bf13179edf fix(ci): use docker.io/volkerraschek/drone-email:0.1.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 17:49:53 +02:00
efcab94223 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-25 13:12:54 +02:00
e26ba6e113 chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-23 10:41:06 +02:00
5a3deb5f55 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-18 11:13:12 +02:00
d549a4b637 chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-14 18:31:06 +02:00
dc03395b66 fix(ci): helm template
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-26 18:15:49 +02:00
bc9a4ea4a4 chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-24 08:53:42 +02:00
8be7f9c4da fix(ci): resource limits
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 11:26:26 +02:00
4a0ec52f12 fix: bump chart version
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-16 20:44:56 +02:00
d968cce280 fix: decouple service from drone config 2022-05-16 20:38:45 +02:00
925c713364 fix: bump chart version
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-16 19:13:46 +02:00
b888ad6205 Merge pull request 'chore(deps): update dependency drone to v2.12.0' (#19) from renovate/drone-2.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #19
2022-05-16 17:10:45 +00:00
4ada0bafc6 chore(deps): update dependency drone to v2.12.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-16 12:10:50 +02:00
1d2c04ede7 chore(deps): update dependency docker.io/volkerraschek/helm to v3.8.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-11 10:31:06 +02:00
5cadbd31a2 fix: add liveness and readiness probe
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-21 23:13:14 +02:00
c7346ec71a feat: add loadBlancer options to the service 2022-04-21 22:58:41 +02:00
04e6d2214c feat: support extraVolumes and extraVolumeMounts 2022-04-21 22:37:56 +02:00
6f36f2b794 fix(drone): remove sync via drone - use instead gitea push feature
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-19 22:27:51 +02:00
fc2dd72561 fix: add annotations for service and serviceAccount
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-19 11:51:34 +02:00
c336536512 feat: support pod priorityClassName
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-18 10:44:31 +02:00
0b482a45d0 chore(deps): update dependency docker.io/volkerraschek/helm to v3.8.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-14 21:48:54 +02:00
e2a9de91f3 fix: bump chart version
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-16 18:23:39 +01:00
181a35028e Merge pull request 'chore(deps): update dependency drone to v2.11.1' (#16) from renovate/drone-2.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #16
2022-03-16 17:20:41 +00:00
e5833cef56 chore(deps): update dependency drone to v2.11.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-03-15 17:00:59 +01:00
8e489572f2 Merge pull request 'chore(deps): update drone docker tag to v2.10.0' (#15) from renovate/drone-2.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #15
2022-03-03 18:25:58 +00:00
b572e084e0 chore(deps): update drone docker tag to v2.10.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-03-03 15:00:54 +00:00
0869a34339 chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.31.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-02-09 19:30:18 +00:00
e1275fffe0 fix(ci): use helm cm-push command to deploy chart
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 22:22:03 +01:00
90e2676365 fix(ci): helm cm push
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 18:59:03 +01:00
28eab737ec fix(ci): add package rules
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 16:45:44 +01:00
25b6a868ad Merge pull request 'chore(deps): update docker.io/volkerraschek/helm docker tag to v3.8.0' (#13) from renovate/docker.io-volkerraschek-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #13
2022-01-29 23:06:28 +00:00
b8787ea957 chore(deps): update docker.io/volkerraschek/helm docker tag to v3.8.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-29 23:01:18 +00:00
e1469c9d30 fix(ci): use volkerraschek/helm to deploy and lint chart
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-29 23:26:36 +01:00
f00116fcec fix: bump chart version
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 22:15:43 +01:00
0efae25b7b Merge pull request 'chore(deps): update docker.io/drone/drone docker tag to v2.9.1' (#12) from renovate/docker.io-drone-drone-2.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #12
2022-01-27 21:12:53 +00:00
f89c06cdd7 Merge pull request 'chore(deps): update docker.io/alpine/helm docker tag to v3.8.0' (#11) from renovate/docker.io-alpine-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #11
2022-01-27 13:43:31 +00:00
b1037536ef chore(deps): update docker.io/drone/drone docker tag to v2.9.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-27 12:00:48 +00:00
f0e8282c2d chore(deps): update docker.io/alpine/helm docker tag to v3.8.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-27 10:00:49 +00:00
eed7f8ede2 Merge pull request 'chore(deps): update docker.io/drone/drone docker tag to v2.9.0' (#10) from renovate/docker.io-drone-drone-2.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #10
2022-01-26 21:55:34 +00:00
cf0e5da873 chore(deps): update docker.io/drone/drone docker tag to v2.9.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-26 17:00:47 +00:00
9 changed files with 209 additions and 106 deletions

View File

@ -11,36 +11,47 @@ steps:
- name: helm lint
commands:
- helm lint
image: quay.io/helmpack/chart-testing:latest
image: docker.io/volkerraschek/helm:3.10.2
resources:
limits:
cpu: 50
memory: 50M
cpu: 150
memory: 150M
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.30.0
image: docker.io/volkerraschek/markdownlint:0.32.2
resources:
limits:
cpu: 50
memory: 50M
cpu: 150
memory: 150M
- name: helm template
commands:
- helm template .
image: docker.io/volkerraschek/helm:3.10.2
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: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 50
memory: 25M
cpu: 150
memory: 150M
when:
status:
- changed
@ -52,7 +63,6 @@ trigger:
- tag
---
kind: pipeline
type: kubernetes
name: release
@ -63,70 +73,22 @@ platform:
steps:
- name: release-helm-chart
commands:
- helm plugin install https://github.com/chartmuseum/helm-push.git
- 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/alpine/helm:3.7.2
image: docker.io/volkerraschek/helm:3.10.2
resources:
limits:
cpu: 150
memory: 150M
trigger:
event:
- tag
repo:
- volker.raschek/drone-charts
---
kind: pipeline
type: kubernetes
name: sync
platform:
os: linux
arch: amd64
steps:
- name: github
image: docker.io/appleboy/drone-git-push:latest
resources:
limits:
cpu: 50
memory: 25M
settings:
branch: master
remote: ssh://git@github.com/volker-raschek/drone-charts.git
force: true
ssh_key:
from_secret: ssh_key
- name: email-notification
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- push
repo:
- volker.raschek/drone-charts

View File

@ -2,16 +2,17 @@ apiVersion: v2
name: drone
description: Drone Helm chart for Kubernetes
type: application
version: "0.3.0"
appVersion: "2.8.0"
version: "0.7.1"
appVersion: "2.15.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

View File

@ -1,26 +1,39 @@
# drone-charts
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/drone-charts/status.svg)](https://drone.cryptic.systems/volker.raschek/drone-charts)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/volker-raschek)](https://artifacthub.io/packages/search?repo=volker-raschek)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/drone-ce)](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 |
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------- |

View File

@ -3,6 +3,23 @@
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"assignees": [ "volker.raschek" ],
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/drone", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"addLabels": [ "renovate/drone", "renovate/automerge" ],
"automerge": false,
"matchPackageNames": [ "drone" ],
"matchManagers": [ "regex" ]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch",
"regexManagers": [
{
"description": "Update container image reference",
@ -12,8 +29,9 @@
"matchStrings": [
"appVersion: \"(?<currentValue>.*?)\"\\s+"
],
"depNameTemplate": "docker.io/drone/drone",
"datasourceTemplate": "docker"
"datasourceTemplate": "docker",
"depNameTemplate": "drone",
"lookupNameTemplate": "docker.io/drone/drone"
}
]
}

View File

@ -26,16 +26,37 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
livenessProbe:
httpGet:
scheme: HTTP
path: /healthz
port: http
ports:
- name: http
containerPort: 80
protocol: TCP
- name: http
containerPort: 80
protocol: TCP
- name: https
containerPort: 443
protocol: TCP
readinessProbe:
httpGet:
scheme: HTTP
path: /healthz
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}
volumeMounts:
- name: data
mountPath: {{ default "/data/database.sqlite" .Values.config.DRONE_DATABASE_DATASOURCE | dir }}
{{- with .Values.extraVolumeMounts }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- else }}
{{- with .Values.extraVolumeMounts }}
volumeMounts:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- end }}
{{- with .Values.affinity }}
affinity:
@ -49,6 +70,9 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.podPriorityClassName }}
priorityClassName: {{ .Values.podPriorityClassName }}
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
serviceAccountName: {{ include "drone.fullname" . }}
@ -63,9 +87,20 @@ spec:
{{- with .Values.persistence.existingClaim }}
claimName: {{ tpl . $ }}
{{- end }}
{{- with .Values.extraVolumes }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- else if and (.Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3") (not .Values.persistence.existingClaim) }}
volumes:
- name: data
persistentVolumeClaim:
claimName: {{ include "drone.fullname" . }}
{{- with .Values.extraVolumes }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- else }}
{{- with .Values.extraVolumes }}
volumes:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

View File

@ -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 -}}

View File

@ -1,15 +1,36 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "drone.fullname" . }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "drone.labels" . | nindent 4 }}
name: {{ include "drone.fullname" . }}
spec:
{{- with .Values.service.externalIPs }}
externalIPs:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- if .Values.service.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
{{- end }}
{{- if and .Values.service.loadBalancerClass (eq .Values.service.type "LoadBalancer") }}
loadBalancerClass: {{ .Values.service.loadBalancerClass }}
{{- end }}
{{- if and .Values.service.loadBalancerIP (eq .Values.service.type "LoadBalancer") }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
{{- with .Values.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{- toYaml . | nindent 2 }}
{{- end }}
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
targetPort: {{ .Values.service.targetPort }}
protocol: TCP
name: http
name: {{ .Values.service.name }}
selector:
{{- include "drone.selectorLabels" . | nindent 4 }}

View File

@ -1,4 +1,10 @@
apiVersion: v1
kind: ServiceAccount
metadata:
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "drone.labels" . | nindent 4 }}
name: {{ include "drone.fullname" . }}

View File

@ -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
@ -16,6 +14,8 @@ fullnameOverride: ""
podAnnotations: {}
podPriorityClassName: ""
podSecurityContext: {}
# fsGroup: 2000
@ -520,7 +520,19 @@ config: {}
# https://docs.drone.io/server/reference/drone-webhook-skip-verify/
# DRONE_WEBHOOK_SKIP_VERIFY: ""
serviceAccount:
annotations: {}
service:
annotations: {}
# externalIPs: []
# externalTrafficPolicy: "Cluster"
# loadBalancerClass: ""
# loadBalancerIP: ""
# loadBalancerSourceRanges: []
# internalTrafficPolicy: "Cluster"
name: http
targetPort: 80
type: ClusterIP
port: 80
@ -532,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
@ -562,10 +574,43 @@ affinity: {}
# persistence is only required when config.DATABASE_DRIVER is sqlite3 or
# undefined.
persistence:
enabled: true
annotation: {}
# existingClaim:
size: 5Gi
accessModes:
- ReadWriteOnce
- ReadWriteOnce
labels: {}
annotation: {}
# storageClass:
# extra volumes for the pod
extraVolumes: {}
# The following example mount the same secret, which contains tls certificates
# under different names. Each volume mount contains only selected items of the
# secret. This make it easier to place the items on different locations inside the
# container filesystem via extraVolumeMounts.
# - name: custom-ca-anchor
# secret:
# secretName: drone-custom-tls-certificates
# items:
# - key: ca.crt
# path: ca.crt
# mode: 0444
# - name: custom-tls-certificates
# secret:
# secretName: drone-custom-tls-certificates
# items:
# - key: tls.key
# path: tls.key
# mode: 0400
# - key: tls.crt
# path: tls.crt
# mode: 0444
extraVolumeMounts: {}
# The following example follows the example of extraVolumes and mounts the
# volumes to the corresponding paths in the container filesystem.
# - name: custom-ca-anchor
# mountPath: /usr/local/share/ca-certificates
# - name: custom-tls-certificates
# mountPath: /etc/drone/tls