You've already forked drone-charts
Compare commits
138 Commits
fb51c29068
...
0.7.14
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
|
|||
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
|
|||
f00116fcec
|
|||
0efae25b7b | |||
f89c06cdd7 | |||
b1037536ef | |||
f0e8282c2d | |||
eed7f8ede2 | |||
cf0e5da873 | |||
52d3f3b3f8
|
|||
9a0f5d8dd8
|
|||
a8403b0f92
|
|||
2ac5857a2a
|
|||
f5c6ad416f
|
|||
f8bea339d4
|
|||
8cd2c8140d
|
|||
2e81e657bc
|
|||
5a277ba8e4
|
|||
b1c607646b
|
|||
ee37c39660
|
|||
12c9923ecf
|
|||
f3eddbf4bc | |||
41ed8e6465 | |||
4181e61c80 | |||
2473397043 | |||
ada2dee582 | |||
4aae7bb66d | |||
eb0dde5f1f | |||
163a19b303
|
|||
8e47993568
|
|||
16ed02a856
|
|||
055854a237
|
|||
5b56416a16
|
|||
78ee710b8e
|
|||
dbe08ba918
|
|||
f3ef73206b
|
|||
6bb524d463
|
|||
7fa46b4dcb
|
|||
ca9fe0b88d
|
|||
90deddb865
|
|||
aa196ec3e0
|
|||
7966ceb188
|
|||
8ae6821f42
|
|||
70f916a71f
|
|||
5d650ec849
|
|||
8785f1aad6
|
|||
ce624330c1
|
|||
cb03476ed7
|
|||
52ece063de
|
|||
e03fe1b5e9
|
95
.drone.yml
95
.drone.yml
@ -3,44 +3,61 @@ kind: pipeline
|
|||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: linter
|
name: linter
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
- name: helm lint
|
- name: helm lint
|
||||||
commands:
|
commands:
|
||||||
- helm lint
|
- helm lint
|
||||||
image: quay.io/helmpack/chart-testing:latest
|
image: git.cryptic.systems/volker.raschek/helm:3.13.3
|
||||||
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/tmknom/markdownlint:0.23.1
|
image: git.cryptic.systems/volker.raschek/markdownlint:0.38.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 150
|
||||||
memory: 50M
|
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
|
- 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: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||||
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
|
||||||
@ -54,48 +71,36 @@ trigger:
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: sync
|
name: release
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: github
|
- name: clone
|
||||||
image: docker.io/appleboy/drone-git-push:latest
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
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
|
- name: release-helm-chart
|
||||||
|
commands:
|
||||||
|
- helm repo add drone https://charts.cryptic.systems/drone
|
||||||
|
- helm package --version ${DRONE_TAG} .
|
||||||
|
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_HOST:
|
HELM_REPO_PASSWORD:
|
||||||
from_secret: smtp_host
|
from_secret: helm_repo_password
|
||||||
PLUGIN_USERNAME:
|
HELM_REPO_USERNAME:
|
||||||
from_secret: smtp_username
|
from_secret: helm_repo_username
|
||||||
PLUGIN_PASSWORD:
|
image: git.cryptic.systems/volker.raschek/helm:3.13.3
|
||||||
from_secret: smtp_password
|
|
||||||
PLUGIN_FROM:
|
|
||||||
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:
|
|
||||||
status:
|
|
||||||
- changed
|
|
||||||
- failure
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- tag
|
||||||
repo:
|
repo:
|
||||||
- volker.raschek/drone-charts
|
- volker.raschek/drone-charts
|
||||||
|
12
.editorconfig
Normal file
12
.editorconfig
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = false
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
runner
|
*.tgz
|
||||||
|
values2.yml
|
||||||
|
values2.yaml
|
32
.helmignore
Normal file
32
.helmignore
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*.orig
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode/
|
||||||
|
# drone
|
||||||
|
.drone.yml
|
||||||
|
# markdownlint
|
||||||
|
.markdownlint.yaml
|
||||||
|
# customized values
|
||||||
|
values2.yml
|
||||||
|
values2.yaml
|
||||||
|
# helm packages
|
||||||
|
*.tgz
|
14
Chart.yaml
14
Chart.yaml
@ -2,18 +2,20 @@ apiVersion: v2
|
|||||||
name: drone
|
name: drone
|
||||||
description: Drone Helm chart for Kubernetes
|
description: Drone Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: "0.7.1"
|
||||||
appVersion: 2.0.4
|
appVersion: "2.22.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://git.cryptic.systems/volker.raschek/drone-charts
|
- https://github.com/volker-raschek/drone-charts
|
||||||
- https://github.com/drone/drone
|
- https://github.com/drone/drone
|
||||||
- https://hub.docker.com/r/drone/drone
|
- https://hub.docker.com/r/drone/drone
|
||||||
|
|
||||||
|
43
README.md
43
README.md
@ -1,26 +1,39 @@
|
|||||||
# drone-charts
|
# drone-charts
|
||||||
|
|
||||||
[](https://drone.cryptic.systems/volker.raschek/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
|
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:
|
||||||
|
|
||||||
|
> 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
|
```bash
|
||||||
helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
|
helm repo add drone https://charts.cryptic.systems/drone
|
||||||
helm install drone volker.raschek/drone
|
helm install drone drone/drone
|
||||||
```
|
```
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
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 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 |
|
| value | reference |
|
||||||
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
||||||
@ -41,6 +54,7 @@ be the options passed via the `--set` flag of the `helm install` command.
|
|||||||
| `config.DRONE_CRON_INTERVAL` | [Documentation](https://docs.drone.io/server/reference/drone-cron-interval) |
|
| `config.DRONE_CRON_INTERVAL` | [Documentation](https://docs.drone.io/server/reference/drone-cron-interval) |
|
||||||
| `config.DRONE_DATABASE_DATASOURCE` | [Documentation](https://docs.drone.io/server/reference/drone-database-datasource) |
|
| `config.DRONE_DATABASE_DATASOURCE` | [Documentation](https://docs.drone.io/server/reference/drone-database-datasource) |
|
||||||
| `config.DRONE_DATABASE_DRIVER` | [Documentation](https://docs.drone.io/server/reference/drone-database-driver) |
|
| `config.DRONE_DATABASE_DRIVER` | [Documentation](https://docs.drone.io/server/reference/drone-database-driver) |
|
||||||
|
| `config.DRONE_DATABASE_MAX_CONNECTIONS` | [Documentation](https://docs.drone.io/server/reference/drone_database-max-connections) |
|
||||||
| `config.DRONE_DATABASE_SECRET` | [Documentation](https://docs.drone.io/server/reference/drone-database-secret) |
|
| `config.DRONE_DATABASE_SECRET` | [Documentation](https://docs.drone.io/server/reference/drone-database-secret) |
|
||||||
| `config.DRONE_GIT_ALWAYS_AUTH` | [Documentation](https://docs.drone.io/server/reference/drone-git-always-auth) |
|
| `config.DRONE_GIT_ALWAYS_AUTH` | [Documentation](https://docs.drone.io/server/reference/drone-git-always-auth) |
|
||||||
| `config.DRONE_GIT_PASSWORD` | [Documentation](https://docs.drone.io/server/reference/drone-git-password) |
|
| `config.DRONE_GIT_PASSWORD` | [Documentation](https://docs.drone.io/server/reference/drone-git-password) |
|
||||||
@ -48,6 +62,11 @@ be the options passed via the `--set` flag of the `helm install` command.
|
|||||||
| `config.DRONE_GITEA_CLIENT_ID` | [Documentation](https://docs.drone.io/server/reference/drone-gitea-client-id) |
|
| `config.DRONE_GITEA_CLIENT_ID` | [Documentation](https://docs.drone.io/server/reference/drone-gitea-client-id) |
|
||||||
| `config.DRONE_GITEA_CLIENT_SECRET` | [Documentation](https://docs.drone.io/server/reference/drone-gitea-client-secret) |
|
| `config.DRONE_GITEA_CLIENT_SECRET` | [Documentation](https://docs.drone.io/server/reference/drone-gitea-client-secret) |
|
||||||
| `config.DRONE_GITEA_SERVER` | [Documentation](https://docs.drone.io/server/reference/drone-gitea-server) |
|
| `config.DRONE_GITEA_SERVER` | [Documentation](https://docs.drone.io/server/reference/drone-gitea-server) |
|
||||||
|
| `config.DRONE_GITEA_SKIP_VERIFY` | [Documentation](https://docs.drone.io/server/reference/drone-gitea-skip-verify) |
|
||||||
|
| `config.DRONE_GITEE_REDIRECT_URL` | [Documentation](https://docs.drone.io/server/reference/drone-gitee-redirect-url) |
|
||||||
|
| `config.DRONE_GITEE_SCOPE` | [Documentation](https://docs.drone.io/server/reference/drone-gitee-scope) |
|
||||||
|
| `config.DRONE_GITEE_SKIP_VERIFY` | [Documentation](https://docs.drone.io/server/reference/drone-gitee-skip-verify) |
|
||||||
|
| `config.DRONE_GITHUB_CLIENT_ID` | [Documentation](https://docs.drone.io/server/reference/drone-github-client-id) |
|
||||||
| `config.DRONE_GITHUB_CLIENT_SECRET` | [Documentation](https://docs.drone.io/server/reference/drone-github-client-secret) |
|
| `config.DRONE_GITHUB_CLIENT_SECRET` | [Documentation](https://docs.drone.io/server/reference/drone-github-client-secret) |
|
||||||
| `config.DRONE_GITHUB_SCOPE` | [Documentation](https://docs.drone.io/server/reference/drone-github-scope) |
|
| `config.DRONE_GITHUB_SCOPE` | [Documentation](https://docs.drone.io/server/reference/drone-github-scope) |
|
||||||
| `config.DRONE_GITHUB_SERVER` | [Documentation](https://docs.drone.io/server/reference/drone-github-server) |
|
| `config.DRONE_GITHUB_SERVER` | [Documentation](https://docs.drone.io/server/reference/drone-github-server) |
|
||||||
@ -77,6 +96,8 @@ 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_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_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_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_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) |
|
| `config.DRONE_STASH_PRIVATE_KEY` | [Documentation](https://docs.drone.io/server/reference/drone-stash-private-key) |
|
||||||
| `config.DRONE_STASH_SERVER` | [Documentation](https://docs.drone.io/server/reference/drone-stash-server) |
|
| `config.DRONE_STASH_SERVER` | [Documentation](https://docs.drone.io/server/reference/drone-stash-server) |
|
||||||
@ -87,6 +108,7 @@ be the options passed via the `--set` flag of the `helm install` command.
|
|||||||
| `config.DRONE_TLS_CERT` | [Documentation](https://docs.drone.io/server/reference/drone-tls-cert) |
|
| `config.DRONE_TLS_CERT` | [Documentation](https://docs.drone.io/server/reference/drone-tls-cert) |
|
||||||
| `config.DRONE_TLS_KEY` | [Documentation](https://docs.drone.io/server/reference/drone-tls-key) |
|
| `config.DRONE_TLS_KEY` | [Documentation](https://docs.drone.io/server/reference/drone-tls-key) |
|
||||||
| `config.DRONE_USER_CREATE` | [Documentation](https://docs.drone.io/server/reference/drone-user-create) |
|
| `config.DRONE_USER_CREATE` | [Documentation](https://docs.drone.io/server/reference/drone-user-create) |
|
||||||
|
| `config.DRONE_USER_FILTER` | [Documentation](https://docs.drone.io/server/reference/drone-user-filter) |
|
||||||
| `config.DRONE_VALIDATE_PLUGIN_ENDPOINT` | [Documentation](https://docs.drone.io/server/reference/drone-validate-plugin-endpoint) |
|
| `config.DRONE_VALIDATE_PLUGIN_ENDPOINT` | [Documentation](https://docs.drone.io/server/reference/drone-validate-plugin-endpoint) |
|
||||||
| `config.DRONE_VALIDATE_PLUGIN_SECRET` | [Documentation](https://docs.drone.io/server/reference/drone-validate-plugin-secret) |
|
| `config.DRONE_VALIDATE_PLUGIN_SECRET` | [Documentation](https://docs.drone.io/server/reference/drone-validate-plugin-secret) |
|
||||||
| `config.DRONE_VALIDATE_PLUGIN_SKIP_VERIFY` | [Documentation](https://docs.drone.io/server/reference/drone-validate-plugin-skip-verify) |
|
| `config.DRONE_VALIDATE_PLUGIN_SKIP_VERIFY` | [Documentation](https://docs.drone.io/server/reference/drone-validate-plugin-skip-verify) |
|
||||||
@ -97,8 +119,7 @@ be the options passed via the `--set` flag of the `helm install` command.
|
|||||||
|
|
||||||
## Missing features
|
## Missing features
|
||||||
|
|
||||||
1. Add Persistent Volume for the SQLite database
|
1. Support postgres, maria and mysql database directly as helm dependency if as
|
||||||
2. Support postgres, maria and mysql database directly as helm dependency if as
|
|
||||||
`DATABASE_DRIVER` an other instead of `sqlite` has been selected.
|
`DATABASE_DRIVER` an other instead of `sqlite` has been selected.
|
||||||
Alternatively can be passed a completely custom string to establish a
|
Alternatively can be passed a completely custom string to establish a
|
||||||
database connection, when the database is running outside the cluster.
|
database connection, when the database is running outside the cluster.
|
||||||
|
37
renovate.json
Normal file
37
renovate.json
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"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",
|
||||||
|
"fileMatch": [
|
||||||
|
"^Chart\\.yaml$"
|
||||||
|
],
|
||||||
|
"matchStrings": [
|
||||||
|
"appVersion: \"(?<currentValue>.*?)\"\\s+"
|
||||||
|
],
|
||||||
|
"datasourceTemplate": "docker",
|
||||||
|
"depNameTemplate": "drone",
|
||||||
|
"lookupNameTemplate": "docker.io/drone/drone"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -17,12 +17,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
{{- include "drone.selectorLabels" . | nindent 8 }}
|
{{- include "drone.selectorLabels" . | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.imagePullSecrets }}
|
|
||||||
imagePullSecrets:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
securityContext:
|
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
envFrom:
|
envFrom:
|
||||||
@ -32,20 +26,81 @@ 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
|
||||||
{{- with .Values.nodeSelector }}
|
containerPort: 443
|
||||||
nodeSelector:
|
protocol: TCP
|
||||||
{{- toYaml . | nindent 8 }}
|
readinessProbe:
|
||||||
{{- end }}
|
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 }}
|
{{- with .Values.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.podPriorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.podPriorityClassName }}
|
||||||
|
{{- end }}
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
|
serviceAccountName: {{ include "drone.fullname" . }}
|
||||||
{{- with .Values.tolerations }}
|
{{- with .Values.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if and (.Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3") .Values.persistence.existingClaim }}
|
||||||
|
volumes:
|
||||||
|
- name: data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
{{- 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 }}
|
{{- end }}
|
19
templates/persistentVolumeClaim.yaml
Normal file
19
templates/persistentVolumeClaim.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{{- if .Values.persistence.enabled -}}
|
||||||
|
{{ if and (.Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3") (not .Values.persistence.existingClaim) }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: {{ include "drone.fullname" . }}
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
{{- range .Values.persistence.accessModes }}
|
||||||
|
- {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: {{ .Values.persistence.size | quote }}
|
||||||
|
{{- if .Values.persistence.storageClass }}
|
||||||
|
storageClassName: {{ .Values.persistence.storageClass | quote }}
|
||||||
|
{{- 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 }}
|
||||||
|
10
templates/serviceAccount.yaml
Normal file
10
templates/serviceAccount.yaml
Normal file
@ -0,0 +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" . }}
|
131
values.yaml
131
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
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ securityContext: {}
|
|||||||
# runAsNonRoot: true
|
# runAsNonRoot: true
|
||||||
# runAsUser: 1000
|
# runAsUser: 1000
|
||||||
|
|
||||||
config:
|
config: {}
|
||||||
# DRONE_BITBUCKET_CLIENT_ID
|
# DRONE_BITBUCKET_CLIENT_ID
|
||||||
# String value. Configures the Bitbucket OAuth client id. This is used to
|
# String value. Configures the Bitbucket OAuth client id. This is used to
|
||||||
# authorize access to Bitbucket on behalf of a Drone user.
|
# authorize access to Bitbucket on behalf of a Drone user.
|
||||||
@ -134,6 +134,13 @@ config:
|
|||||||
# https://docs.drone.io/server/reference/drone-database-driver/
|
# https://docs.drone.io/server/reference/drone-database-driver/
|
||||||
# DRONE_DATABASE_DRIVER: ""
|
# DRONE_DATABASE_DRIVER: ""
|
||||||
|
|
||||||
|
# DRONE_DATABASE_MAX_CONNECTIONS
|
||||||
|
# Optional numeric value. Set the maximum number of open DB connections from
|
||||||
|
# Drone. It is set to 0 by default and must be configured before the system is
|
||||||
|
# first used.
|
||||||
|
# https://docs.drone.io/server/reference/drone-database-max-connections/
|
||||||
|
# DRONE_DATABASE_MAX_CONNECTIONS: ""
|
||||||
|
|
||||||
# DRONE_DATABASE_SECRET
|
# DRONE_DATABASE_SECRET
|
||||||
# Optional string value. Configures the secret key used to encrypt secrets in
|
# Optional string value. Configures the secret key used to encrypt secrets in
|
||||||
# the database. Encryption is disabled by default and must be configured
|
# the database. Encryption is disabled by default and must be configured
|
||||||
@ -177,6 +184,34 @@ config:
|
|||||||
# https://docs.drone.io/server/reference/drone-gitea-server/
|
# https://docs.drone.io/server/reference/drone-gitea-server/
|
||||||
# DRONE_GITEA_SERVER: ""
|
# DRONE_GITEA_SERVER: ""
|
||||||
|
|
||||||
|
# DRONE_GITEA_SKIP_VERIFY
|
||||||
|
# Boolean value disables tls verification when establishing a connection to
|
||||||
|
# the remote Gitea server.
|
||||||
|
# https://docs.drone.io/server/reference/drone-gitea-skip-verify/
|
||||||
|
# DRONE_GITEA_SKIP_VERIFY: ""
|
||||||
|
|
||||||
|
# DRONE_GITEE_REDIRECT_URL
|
||||||
|
# String value configures the Gitee OAuth authorize redirect url.
|
||||||
|
# https://docs.drone.io/server/reference/drone-gitee-redirect-url/
|
||||||
|
# DRONE_GITEE_REDIRECT_URL: ""
|
||||||
|
|
||||||
|
# DRONE_GITEE_SCOPE
|
||||||
|
# String value provides a comma-separated list of OAuth scopes.
|
||||||
|
# https://docs.drone.io/server/reference/drone-gitee-scope/
|
||||||
|
# DRONE_GITEE_SCOPE: ""
|
||||||
|
|
||||||
|
# DRONE_GITEE_SKIP_VERIFY
|
||||||
|
# Boolean value disables TLS verification when establishing a connection to
|
||||||
|
# the remote Gitee server.
|
||||||
|
# https://docs.drone.io/server/reference/drone-gitee-skip-verify/
|
||||||
|
# DRONE_GITEE_SKIP_VERIFY: ""
|
||||||
|
|
||||||
|
# DRONE_GITHUB_CLIENT_ID
|
||||||
|
# String value configures the GitHub OAuth client id. This is used to
|
||||||
|
# authorize access to GitHub on behalf of a Drone user.
|
||||||
|
# https://docs.drone.io/server/reference/drone-github-client-id/
|
||||||
|
# DRONE_GITHUB_CLIENT_ID: ""
|
||||||
|
|
||||||
# DRONE_GITHUB_CLIENT_SECRET
|
# DRONE_GITHUB_CLIENT_SECRET
|
||||||
# String value configures the GitHub oauth client secret. This is used to
|
# String value configures the GitHub oauth client secret. This is used to
|
||||||
# authorize access to GitHub on behalf of a Drone user.
|
# authorize access to GitHub on behalf of a Drone user.
|
||||||
@ -364,6 +399,13 @@ config:
|
|||||||
# https://docs.drone.io/server/reference/drone-starlark-enabled/
|
# https://docs.drone.io/server/reference/drone-starlark-enabled/
|
||||||
# DRONE_STARLARK_ENABLED: ""
|
# DRONE_STARLARK_ENABLED: ""
|
||||||
|
|
||||||
|
# DRONE_STARLARK_STEP_LIMIT
|
||||||
|
# Integer value. Sets the maximum number of steps that a starlark
|
||||||
|
# configuration can generate. The default is 50000. This feature requires
|
||||||
|
# Drone server version 2.2.1 or higher.
|
||||||
|
# https://docs.drone.io/server/reference/drone-starlark-step-limit/
|
||||||
|
# DRONE_STARLARK_STEP_LIMIT: ""
|
||||||
|
|
||||||
# DRONE_STASH_CONSUMER_KEY
|
# DRONE_STASH_CONSUMER_KEY
|
||||||
# String value configures your Bitbucket Server consumer key.
|
# String value configures your Bitbucket Server consumer key.
|
||||||
# https://docs.drone.io/server/reference/drone-stash-consumer-key/
|
# https://docs.drone.io/server/reference/drone-stash-consumer-key/
|
||||||
@ -429,6 +471,13 @@ config:
|
|||||||
# https://docs.drone.io/server/reference/drone-user-create/
|
# https://docs.drone.io/server/reference/drone-user-create/
|
||||||
# DRONE_USER_CREATE: ""
|
# DRONE_USER_CREATE: ""
|
||||||
|
|
||||||
|
# DRONE_USER_FILTER
|
||||||
|
# Optional comma-separated list of accounts. Registration is limited to users
|
||||||
|
# in this list, or users that are members of organizations included in this
|
||||||
|
# list.
|
||||||
|
# https://docs.drone.io/server/reference/drone-user-filter/
|
||||||
|
# DRONE_USER_FILTER: ""
|
||||||
|
|
||||||
# DRONE_VALIDATE_PLUGIN_ENDPOINT
|
# DRONE_VALIDATE_PLUGIN_ENDPOINT
|
||||||
# String value configures the endpoint for the validation plugin, used to
|
# String value configures the endpoint for the validation plugin, used to
|
||||||
# enforce custom linting rules for your pipeline configuration.
|
# enforce custom linting rules for your pipeline configuration.
|
||||||
@ -471,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
|
||||||
|
|
||||||
@ -479,16 +540,18 @@ ingress:
|
|||||||
enabled: false
|
enabled: false
|
||||||
className: "nginx"
|
className: "nginx"
|
||||||
annotations:
|
annotations:
|
||||||
# cert-manager.io/issuer: letsencrypt
|
# kubernetes.io/ingress.class: nginx
|
||||||
|
# cert-manager.io/issuer:
|
||||||
|
# kubernetes.io/tls-acme: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: "your-hostname"
|
- host: "your-hostname"
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: ImplementationSpecific
|
pathType: ImplementationSpecific
|
||||||
tls:
|
tls:
|
||||||
- secretName: "your-tls-secret"
|
- secretName: "your-tls-secret"
|
||||||
hosts:
|
hosts:
|
||||||
- "your-hostname"
|
- "your-hostname"
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
@ -506,4 +569,48 @@ nodeSelector: {}
|
|||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
# persistence is only required when config.DATABASE_DRIVER is sqlite3 or
|
||||||
|
# undefined.
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
annotation: {}
|
||||||
|
# existingClaim:
|
||||||
|
size: 5Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
labels: {}
|
||||||
|
# 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