diff --git a/charts/bazarr/Chart.yaml b/charts/bazarr/Chart.yaml index cba42161..fc3c7817 100644 --- a/charts/bazarr/Chart.yaml +++ b/charts/bazarr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v0.9.0.2 description: Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements name: bazarr -version: 3.0.1 +version: 3.1.0 keywords: - bazarr - radarr diff --git a/charts/bazarr/README.md b/charts/bazarr/README.md index ea07de45..fcb7852c 100644 --- a/charts/bazarr/README.md +++ b/charts/bazarr/README.md @@ -75,6 +75,7 @@ The following tables lists the configurable parameters of the Sentry chart and t | `persistence.config.enabled` | Use persistent volume to store configuration data | `true` | | `persistence.config.size` | Size of persistent volume claim | `1Gi` | | `persistence.config.existingClaim` | Use an existing PVC to persist data | `nil` | +| `persistence.config.subpath` | Select a subpath in the PVC | `nil` | | `persistence.config.storageClass` | Type of persistent volume claim | `-` | | `persistence.config.accessMode` | Persistence access mode | `ReadWriteOnce` | | `persistence.config.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` | diff --git a/charts/bazarr/templates/deployment.yaml b/charts/bazarr/templates/deployment.yaml index 2e21cf50..89c9263d 100644 --- a/charts/bazarr/templates/deployment.yaml +++ b/charts/bazarr/templates/deployment.yaml @@ -64,6 +64,9 @@ spec: volumeMounts: - mountPath: /config name: config + {{- if .Values.persistence.config.subPath }} + subPath: {{ .Values.persistence.config.subPath }} + {{- end }} - mountPath: /media name: media {{- if .Values.persistence.media.subPath }} diff --git a/charts/bazarr/values.yaml b/charts/bazarr/values.yaml index 1ec8f6b1..b18f5cc7 100644 --- a/charts/bazarr/values.yaml +++ b/charts/bazarr/values.yaml @@ -78,6 +78,7 @@ persistence: ## If you want to reuse an existing claim, you can pass the name of the PVC using ## the existingClaim variable # existingClaim: your-claim + # subPath: some-subpath accessMode: ReadWriteOnce size: 1Gi ## Do not delete the pvc upon helm uninstall