mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-29 03:28:37 +00:00
feat: Add persistent volume claim support for backups and update Helm chart version
This commit is contained in:
@@ -119,6 +119,10 @@ spec:
|
||||
- name: media
|
||||
mountPath: {{ .Values.persistence.media.mountPath }}
|
||||
{{- end }}
|
||||
{{- if .Values.persistence.backups.enabled }}
|
||||
- name: backups
|
||||
mountPath: /config/backups
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumes:
|
||||
@@ -144,6 +148,11 @@ spec:
|
||||
claimName: {{ .Values.persistence.media.existingClaim | default (printf "%s-media" (include "home-assistant.fullname" .)) }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.persistence.backups.enabled }}
|
||||
- name: backups
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.backups.existingClaim | default (printf "%s-backups" (include "home-assistant.fullname" .)) }}
|
||||
{{- end }}
|
||||
{{- if .Values.haSecrets.enabled }}
|
||||
- name: ha-secrets
|
||||
secret:
|
||||
|
||||
Reference in New Issue
Block a user