diff --git a/charts/radarr/Chart.yaml b/charts/radarr/Chart.yaml index cf317a7c..92540410 100644 --- a/charts/radarr/Chart.yaml +++ b/charts/radarr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v0.2.0.1480-ls58 description: Radarr is a movie downloading client name: radarr -version: 4.0.1 +version: 4.1.0 keywords: - radarr - usenet diff --git a/charts/radarr/README.md b/charts/radarr/README.md index e01f6b6d..67c5e4a3 100644 --- a/charts/radarr/README.md +++ b/charts/radarr/README.md @@ -88,12 +88,14 @@ The following tables lists the configurable parameters of the Sentry chart and t | `persistence.config.size` | Size of persistent volume claim | `1Gi` | | `persistence.config.existingClaim` | Use an existing PVC to persist data | `nil` | | `persistence.config.storageClass` | Type of persistent volume claim | `-` | +| `persistence.config.subPath` | Mount a sub directory if set | `nil ` | | `persistence.config.accessMode` | Persistence access mode | `ReadWriteOnce` | | `persistence.config.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` | | `persistence.media.enabled` | Use persistent volume to store media | `true` | | `persistence.media.size` | Size of persistent volume claim | `10Gi` | | `persistence.media.existingClaim` | Use an existing PVC to persist data | `nil` | | `persistence.media.storageClass` | Type of persistent volume claim | `-` | +| `persistence.media.subPath` | Mount a sub directory if set | `nil ` | | `persistence.media.accessMode` | Persistence access mode | `ReadWriteOnce` | | `persistence.media.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` | | `persistence.extraExistingClaimMounts` | Optionally add multiple existing claims | `[]` | diff --git a/charts/radarr/templates/deployment.yaml b/charts/radarr/templates/deployment.yaml index eb54b266..031a8fc5 100644 --- a/charts/radarr/templates/deployment.yaml +++ b/charts/radarr/templates/deployment.yaml @@ -64,6 +64,9 @@ spec: volumeMounts: - mountPath: /config name: config + {{- if .Values.persistence.config.subPath }} + subPath: {{ .Values.persistence.media.subPath }} + {{- end }} - mountPath: /media name: media {{- if .Values.persistence.media.subPath }} diff --git a/charts/radarr/values.yaml b/charts/radarr/values.yaml index 09ea79d2..38139479 100644 --- a/charts/radarr/values.yaml +++ b/charts/radarr/values.yaml @@ -95,6 +95,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