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 Sonarr (#235)
Fix
This commit is contained in:
parent
f1c585e318
commit
ddd1f81c3d
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
appVersion: 2.0.0.5344-ls60
|
appVersion: 2.0.0.5344-ls60
|
||||||
description: Sonarr is a television show downloading client
|
description: Sonarr is a television show downloading client
|
||||||
name: sonarr
|
name: sonarr
|
||||||
version: 4.0.0
|
version: 4.1.0
|
||||||
keywords:
|
keywords:
|
||||||
- sonarr
|
- sonarr
|
||||||
- usenet
|
- usenet
|
||||||
|
@ -89,12 +89,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 for media | `true` |
|
| `persistence.media.enabled` | Use persistent volume for 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 | `[]` |
|
||||||
|
@ -66,6 +66,9 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: config
|
name: config
|
||||||
|
{{- if .Values.persistence.config.subPath }}
|
||||||
|
subPath: "{{ .Values.persistence.config.subPath }}"
|
||||||
|
{{- end }}
|
||||||
- mountPath: /media
|
- mountPath: /media
|
||||||
name: media
|
name: media
|
||||||
{{- if .Values.persistence.media.subPath }}
|
{{- if .Values.persistence.media.subPath }}
|
||||||
|
@ -97,6 +97,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