charts/audiobookshelf/templates/deployment.yaml aktualisiert

This commit is contained in:
Marko Oldenburg 2024-10-31 08:31:33 +00:00
parent f9da2c5116
commit b9f5bc2c65

@ -52,10 +52,12 @@ spec:
mountPath: /config
- name: metadata
mountPath: /metadata
- name: audiobooks
- name: media
mountPath: /audiobooks
- name: podcasts
subPath: audiobooks
- name: media
mountPath: /podcasts
subPath: podcasts
{{- range .Values.persistentVolumeClaims }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
@ -87,17 +89,10 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
- name: audiobooks
{{- if .Values.persistence.audiobooks.enabled }}
- name: media
{{- if .Values.persistence.media.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" .)) }}
claimName: {{ .Values.persistence.media.existingClaim | default (printf "%s-media" (include "audiobookshelf.fullname" .)) }}
{{- else }}
emptyDir: {}
{{- end }}