Merge pull request #10 from pi3ch/master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
support for ephemeral storage
This commit is contained in:
commit
cb6a5021c8
@ -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 -}}
|
||||||
|
@ -576,6 +576,7 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user