mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +00:00
Add subPath to PVC config and update subPath doc for media PVC for Radarr (#236)
This commit is contained in:
parent
ddd1f81c3d
commit
b9301e6e0a
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
appVersion: v0.2.0.1480-ls58
|
appVersion: v0.2.0.1480-ls58
|
||||||
description: Radarr is a movie downloading client
|
description: Radarr is a movie downloading client
|
||||||
name: radarr
|
name: radarr
|
||||||
version: 4.0.1
|
version: 4.1.0
|
||||||
keywords:
|
keywords:
|
||||||
- radarr
|
- radarr
|
||||||
- usenet
|
- usenet
|
||||||
|
@ -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.size` | Size of persistent volume claim | `1Gi` |
|
||||||
| `persistence.config.existingClaim` | Use an existing PVC to persist data | `nil` |
|
| `persistence.config.existingClaim` | Use an existing PVC to persist data | `nil` |
|
||||||
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
| `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.accessMode` | Persistence access mode | `ReadWriteOnce` |
|
||||||
| `persistence.config.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
|
| `persistence.config.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
|
||||||
| `persistence.media.enabled` | Use persistent volume to store media | `true` |
|
| `persistence.media.enabled` | Use persistent volume to store media | `true` |
|
||||||
| `persistence.media.size` | Size of persistent volume claim | `10Gi` |
|
| `persistence.media.size` | Size of persistent volume claim | `10Gi` |
|
||||||
| `persistence.media.existingClaim` | Use an existing PVC to persist data | `nil` |
|
| `persistence.media.existingClaim` | Use an existing PVC to persist data | `nil` |
|
||||||
| `persistence.media.storageClass` | Type of persistent volume claim | `-` |
|
| `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.accessMode` | Persistence access mode | `ReadWriteOnce` |
|
||||||
| `persistence.media.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
|
| `persistence.media.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
|
||||||
| `persistence.extraExistingClaimMounts` | Optionally add multiple existing claims | `[]` |
|
| `persistence.extraExistingClaimMounts` | Optionally add multiple existing claims | `[]` |
|
||||||
|
@ -64,6 +64,9 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: config
|
name: config
|
||||||
|
{{- if .Values.persistence.config.subPath }}
|
||||||
|
subPath: {{ .Values.persistence.media.subPath }}
|
||||||
|
{{- end }}
|
||||||
- mountPath: /media
|
- mountPath: /media
|
||||||
name: media
|
name: media
|
||||||
{{- if .Values.persistence.media.subPath }}
|
{{- if .Values.persistence.media.subPath }}
|
||||||
|
@ -95,6 +95,7 @@ persistence:
|
|||||||
## If you want to reuse an existing claim, you can pass the name of the PVC using
|
## If you want to reuse an existing claim, you can pass the name of the PVC using
|
||||||
## the existingClaim variable
|
## the existingClaim variable
|
||||||
# existingClaim: your-claim
|
# existingClaim: your-claim
|
||||||
|
# subPath: some-subpath
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
## Do not delete the pvc upon helm uninstall
|
## Do not delete the pvc upon helm uninstall
|
||||||
|
Loading…
Reference in New Issue
Block a user