10 Commits
0.7.2 ... 0.7.4

Author SHA1 Message Date
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
5 changed files with 37 additions and 26 deletions

View File

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

View File

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

View File

@ -4,12 +4,11 @@
[![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/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 |
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | ------------------------------------------------------- | ----------------------------------------------------------------------------------------- |

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) }} {{ 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 -}}

View File

@ -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
@ -546,14 +544,14 @@ ingress:
# cert-manager.io/issuer: # cert-manager.io/issuer:
# kubernetes.io/tls-acme: "true" # 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
@ -576,11 +574,12 @@ 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
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
labels: {} labels: {}
# storageClass: # storageClass: