You've already forked drone-charts
Compare commits
47 Commits
Author | SHA1 | Date | |
---|---|---|---|
608605320e | |||
12db483afe | |||
0370c865c4 | |||
548e37f758 | |||
aae4092f7b
|
|||
c93bc34fc7
|
|||
ac72d688ea
|
|||
fdb778896c
|
|||
cb6a5021c8 | |||
d26bfdea13 | |||
6547aee98e | |||
b774b08dec | |||
207c9d702b | |||
df7bb19b58 | |||
bf13179edf
|
|||
efcab94223 | |||
e26ba6e113 | |||
5a3deb5f55 | |||
d549a4b637 | |||
dc03395b66
|
|||
bc9a4ea4a4 | |||
8be7f9c4da
|
|||
4a0ec52f12
|
|||
d968cce280
|
|||
925c713364
|
|||
b888ad6205 | |||
4ada0bafc6 | |||
1d2c04ede7 | |||
5cadbd31a2
|
|||
c7346ec71a
|
|||
04e6d2214c
|
|||
6f36f2b794
|
|||
fc2dd72561
|
|||
c336536512
|
|||
0b482a45d0 | |||
e2a9de91f3
|
|||
181a35028e | |||
e5833cef56 | |||
8e489572f2 | |||
b572e084e0 | |||
0869a34339 | |||
e1275fffe0
|
|||
90e2676365
|
|||
28eab737ec
|
|||
25b6a868ad | |||
b8787ea957 | |||
e1469c9d30
|
98
.drone.yml
98
.drone.yml
@ -11,36 +11,47 @@ steps:
|
|||||||
- name: helm lint
|
- name: helm lint
|
||||||
commands:
|
commands:
|
||||||
- helm lint
|
- helm lint
|
||||||
image: quay.io/helmpack/chart-testing:latest
|
image: docker.io/volkerraschek/helm:3.10.1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 150
|
||||||
memory: 50M
|
memory: 150M
|
||||||
|
|
||||||
- name: markdown lint
|
- name: markdown lint
|
||||||
commands:
|
commands:
|
||||||
- markdownlint *.md
|
- markdownlint *.md
|
||||||
image: docker.io/volkerraschek/markdownlint:0.30.0
|
image: docker.io/volkerraschek/markdownlint:0.32.2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 150
|
||||||
memory: 50M
|
memory: 150M
|
||||||
|
|
||||||
|
- name: helm template
|
||||||
|
commands:
|
||||||
|
- helm template .
|
||||||
|
image: docker.io/volkerraschek/helm:3.10.1
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 150
|
||||||
|
memory: 150M
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
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
|
from_secret: smtp_host
|
||||||
PLUGIN_USERNAME:
|
SMTP_USERNAME:
|
||||||
from_secret: smtp_username
|
from_secret: smtp_username
|
||||||
PLUGIN_PASSWORD:
|
SMTP_PASSWORD:
|
||||||
from_secret: smtp_password
|
from_secret: smtp_password
|
||||||
PLUGIN_FROM:
|
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||||
from_secret: smtp_mail_address
|
|
||||||
image: docker.io/drillster/drone-email:latest
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 150
|
||||||
memory: 25M
|
memory: 150M
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
@ -52,7 +63,6 @@ trigger:
|
|||||||
- tag
|
- tag
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: release
|
name: release
|
||||||
@ -63,7 +73,6 @@ platform:
|
|||||||
steps:
|
steps:
|
||||||
- name: release-helm-chart
|
- name: release-helm-chart
|
||||||
commands:
|
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 volker.raschek https://charts.cryptic.systems/volker.raschek
|
||||||
- helm package --version ${DRONE_TAG} .
|
- 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 volker.raschek
|
||||||
@ -72,61 +81,14 @@ 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/alpine/helm:3.8.0
|
image: docker.io/volkerraschek/helm:3.10.1
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 150
|
||||||
|
memory: 150M
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
repo:
|
repo:
|
||||||
- volker.raschek/drone-charts
|
- 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
|
|
||||||
|
11
Chart.yaml
11
Chart.yaml
@ -2,16 +2,17 @@ apiVersion: v2
|
|||||||
name: drone
|
name: drone
|
||||||
description: Drone Helm chart for Kubernetes
|
description: Drone Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: "0.4.1"
|
version: "0.7.1"
|
||||||
appVersion: "2.9.1"
|
appVersion: "2.15.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 |
|
||||||
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
||||||
|
@ -3,6 +3,23 @@
|
|||||||
"automergeStrategy": "merge-commit",
|
"automergeStrategy": "merge-commit",
|
||||||
"automergeType": "pr",
|
"automergeType": "pr",
|
||||||
"assignees": [ "volker.raschek" ],
|
"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": [
|
"regexManagers": [
|
||||||
{
|
{
|
||||||
"description": "Update container image reference",
|
"description": "Update container image reference",
|
||||||
@ -12,8 +29,9 @@
|
|||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"appVersion: \"(?<currentValue>.*?)\"\\s+"
|
"appVersion: \"(?<currentValue>.*?)\"\\s+"
|
||||||
],
|
],
|
||||||
"depNameTemplate": "docker.io/drone/drone",
|
"datasourceTemplate": "docker",
|
||||||
"datasourceTemplate": "docker"
|
"depNameTemplate": "drone",
|
||||||
|
"lookupNameTemplate": "docker.io/drone/drone"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -26,16 +26,37 @@ spec:
|
|||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
scheme: HTTP
|
||||||
|
path: /healthz
|
||||||
|
port: http
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 80
|
containerPort: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
- name: https
|
||||||
|
containerPort: 443
|
||||||
|
protocol: TCP
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
scheme: HTTP
|
||||||
|
path: /healthz
|
||||||
|
port: http
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
{{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}
|
{{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: {{ default "/data/database.sqlite" .Values.config.DRONE_DATABASE_DATASOURCE | dir }}
|
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 }}
|
{{- end }}
|
||||||
{{- with .Values.affinity }}
|
{{- with .Values.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
@ -49,6 +70,9 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.podPriorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.podPriorityClassName }}
|
||||||
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
serviceAccountName: {{ include "drone.fullname" . }}
|
serviceAccountName: {{ include "drone.fullname" . }}
|
||||||
@ -63,9 +87,20 @@ spec:
|
|||||||
{{- with .Values.persistence.existingClaim }}
|
{{- with .Values.persistence.existingClaim }}
|
||||||
claimName: {{ tpl . $ }}
|
claimName: {{ tpl . $ }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.extraVolumes }}
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- else if and (.Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3") (not .Values.persistence.existingClaim) }}
|
{{- else if and (.Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3") (not .Values.persistence.existingClaim) }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ include "drone.fullname" . }}
|
claimName: {{ include "drone.fullname" . }}
|
||||||
|
{{- with .Values.extraVolumes }}
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.extraVolumes }}
|
||||||
|
volumes:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
@ -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 -}}
|
||||||
|
@ -1,15 +1,36 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "drone.fullname" . }}
|
{{- with .Values.service.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "drone.labels" . | nindent 4 }}
|
{{- include "drone.labels" . | nindent 4 }}
|
||||||
|
name: {{ include "drone.fullname" . }}
|
||||||
spec:
|
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 }}
|
type: {{ .Values.service.type }}
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.service.port }}
|
- port: {{ .Values.service.port }}
|
||||||
targetPort: http
|
targetPort: {{ .Values.service.targetPort }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: {{ .Values.service.name }}
|
||||||
selector:
|
selector:
|
||||||
{{- include "drone.selectorLabels" . | nindent 4 }}
|
{{- include "drone.selectorLabels" . | nindent 4 }}
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
|
{{- with .Values.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
{{- include "drone.labels" . | nindent 4 }}
|
||||||
name: {{ include "drone.fullname" . }}
|
name: {{ include "drone.fullname" . }}
|
51
values.yaml
51
values.yaml
@ -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
|
||||||
@ -16,6 +14,8 @@ fullnameOverride: ""
|
|||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
|
podPriorityClassName: ""
|
||||||
|
|
||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|
||||||
@ -520,7 +520,19 @@ config: {}
|
|||||||
# https://docs.drone.io/server/reference/drone-webhook-skip-verify/
|
# https://docs.drone.io/server/reference/drone-webhook-skip-verify/
|
||||||
# DRONE_WEBHOOK_SKIP_VERIFY: ""
|
# DRONE_WEBHOOK_SKIP_VERIFY: ""
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
service:
|
service:
|
||||||
|
annotations: {}
|
||||||
|
# externalIPs: []
|
||||||
|
# externalTrafficPolicy: "Cluster"
|
||||||
|
# loadBalancerClass: ""
|
||||||
|
# loadBalancerIP: ""
|
||||||
|
# loadBalancerSourceRanges: []
|
||||||
|
# internalTrafficPolicy: "Cluster"
|
||||||
|
name: http
|
||||||
|
targetPort: 80
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
@ -562,10 +574,43 @@ 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: {}
|
||||||
# existingClaim:
|
# existingClaim:
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
labels: {}
|
labels: {}
|
||||||
annotation: {}
|
|
||||||
# storageClass:
|
# 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
|
||||||
|
Reference in New Issue
Block a user