3 Commits

Author SHA1 Message Date
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
pi3ch
d26bfdea13 support for ephemeral storage 2022-09-10 10:16:50 +10:00
2 changed files with 21 additions and 16 deletions

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

@@ -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
@@ -18,10 +16,12 @@ podAnnotations: {}
podPriorityClassName: ""
podSecurityContext: {}
podSecurityContext:
{}
# fsGroup: 2000
securityContext: {}
securityContext:
{}
# capabilities:
# drop:
# - ALL
@@ -29,7 +29,8 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000
config: {}
config:
{}
# DRONE_BITBUCKET_CLIENT_ID
# String value. Configures the Bitbucket OAuth client id. This is used to
# authorize access to Bitbucket on behalf of a Drone user.
@@ -546,16 +547,17 @@ 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: {}
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -576,11 +578,12 @@ affinity: {}
# persistence is only required when config.DATABASE_DRIVER is sqlite3 or
# undefined.
persistence:
enabled: true
annotation: {}
# existingClaim:
size: 5Gi
accessModes:
- ReadWriteOnce
- ReadWriteOnce
labels: {}
# storageClass: