init3
This commit is contained in:
@@ -109,10 +109,37 @@ spec:
|
|||||||
value: '{{ .Values.mariadb.loglevel }}'
|
value: '{{ .Values.mariadb.loglevel }}'
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: '{{ .Values.librebooking.TZ }}'
|
value: '{{ .Values.librebooking.TZ }}'
|
||||||
{{- with .Values.volumes }}
|
|
||||||
volumes:
|
volumes:
|
||||||
{{- toYaml . | nindent 8 }}
|
- name: storage
|
||||||
|
{{- if .Values.persistence.enabled }}
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.persistence.existingClaim | default (include "librebooking.fullname" .) }}
|
||||||
|
{{- else }}
|
||||||
|
emptyDir: {}
|
||||||
|
{{- end -}}
|
||||||
|
{{- range .Values.librebooking.extraVolumeMounts }}
|
||||||
|
- name: {{ .name }}
|
||||||
|
{{- if .existingClaim }}
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .existingClaim }}
|
||||||
|
{{- else if .hostPath }}
|
||||||
|
hostPath:
|
||||||
|
path: {{ .hostPath }}
|
||||||
|
{{- else if .configMap }}
|
||||||
|
configMap:
|
||||||
|
name: {{ .configMap }}
|
||||||
|
{{- with .items }}
|
||||||
|
items:
|
||||||
|
{{- toYaml . | nindent 14 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
emptyDir: {}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- range .Values.librebooking.extraEmptyDirMounts }}
|
||||||
|
- name: {{ .name }}
|
||||||
|
emptyDir: {}
|
||||||
|
{{- end -}}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|||||||
25
values.yaml
25
values.yaml
@@ -25,6 +25,29 @@ librebooking:
|
|||||||
loglevel: 'none'
|
loglevel: 'none'
|
||||||
TZ: 'Europe/Berlin'
|
TZ: 'Europe/Berlin'
|
||||||
|
|
||||||
|
## This allows you to mount additional volumes
|
||||||
|
## into the librebooking container
|
||||||
|
extraVolumeMounts: []
|
||||||
|
# - name: extra-volume-0
|
||||||
|
# mountPath: /mnt/volume0
|
||||||
|
# readOnly: true
|
||||||
|
# existingClaim: volume-claim
|
||||||
|
# - name: extra-volume-1
|
||||||
|
# mountPath: /mnt/volume1
|
||||||
|
# readOnly: true
|
||||||
|
# hostPath: /usr/shared/
|
||||||
|
# - name: extra-volume-configmap
|
||||||
|
# configMap: librebooking
|
||||||
|
# items:
|
||||||
|
# - key: config.php
|
||||||
|
# path: application/config/config.php
|
||||||
|
|
||||||
|
## This allows you to mount additional "emptyDirs"
|
||||||
|
## into the librebooking container
|
||||||
|
extraEmptyDirMounts: []
|
||||||
|
# - name: extra-empty-dir
|
||||||
|
# mountPath: /var/lib/foobar
|
||||||
|
|
||||||
## MariaDB chart configuration
|
## MariaDB chart configuration
|
||||||
mariadb:
|
mariadb:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -142,7 +165,7 @@ readinessProbe:
|
|||||||
|
|
||||||
## Enable persistence using Persistent Volume Claims
|
## Enable persistence using Persistent Volume Claims
|
||||||
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
||||||
## Used for LimeSurvey Uploads
|
## Used for librebooking Uploads
|
||||||
persistence:
|
persistence:
|
||||||
# Enable persistence with PVC. If false, uses emptyDir instead.
|
# Enable persistence with PVC. If false, uses emptyDir instead.
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user