Add subPath to PVC config and update subPath doc for media PVC for Radarr (#236)

This commit is contained in:
Radu Micu 2020-06-01 12:54:05 +01:00 committed by GitHub
parent ddd1f81c3d
commit b9301e6e0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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 | `[]` |

View File

@ -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 }}

View File

@ -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