[Bazarr] Added subpath for config

This commit is contained in:
Hemanth Bollamreddi 2020-09-01 14:24:27 +05:30
parent 5899c0002c
commit f5241bde3a
4 changed files with 6 additions and 1 deletions

View File

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

View File

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

View File

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

View File

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