charts/audiobookshelf/templates/deployment.yaml aktualisiert

This commit is contained in:
Marko Oldenburg 2024-10-30 10:33:34 +00:00
parent 211459ce08
commit a706b17705

View File

@ -52,6 +52,10 @@ spec:
mountPath: /config
- name: metadata
mountPath: /metadata
- name: audiobooks
mountPath: /audiobooks
- name: podcasts
mountPath: /podcasts
{{- range .Values.persistentVolumeClaims }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
@ -83,6 +87,20 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
- name: audiobooks
{{- if .Values.persistence.audiobooks.enabled }}
persistentVolumeClaim:
claimName: {{ .Values.persistence.audiobooks.existingClaim | default (printf "%s-audiobooks" (include "audiobookshelf.fullname" .)) }}
{{- else }}
emptyDir: {}
{{- end }}
- name: podcasts
{{- if .Values.persistence.podcasts.enabled }}
persistentVolumeClaim:
claimName: {{ .Values.persistence.podcasts.existingClaim | default (printf "%s-podcasts" (include "audiobookshelf.fullname" .)) }}
{{- else }}
emptyDir: {}
{{- end }}
{{- range .Values.persistentVolumeClaims }}
- name: {{ .name }}
persistentVolumeClaim: