[nzbget] Fixes issue with mounting in sub directories (#280)

* Allow custom, multi-folder mount paths

* Added true independent path mounting. 

For some reason using the other way only allowed level root directory 
mounting
This commit is contained in:
dcplaya 2020-07-12 12:37:14 -07:00 committed by GitHub
parent 6cd37e095d
commit b9146f48c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: v21.0-ls14 appVersion: v21.0-ls14
description: NZBGet is a Usenet downloader client description: NZBGet is a Usenet downloader client
name: nzbget name: nzbget
version: 3.2.0 version: 3.2.1
keywords: keywords:
- nzbget - nzbget
- usenet - usenet

View File

@ -70,7 +70,7 @@ spec:
subPath: {{ .Values.persistence.downloads.subPath }} subPath: {{ .Values.persistence.downloads.subPath }}
{{ end }} {{ end }}
{{- range .Values.persistence.extraMounts }} {{- range .Values.persistence.extraMounts }}
- mountPath: /{{ .name }} - mountPath: /{{ .mountPath }}
name: {{ .name }} name: {{ .name }}
{{- end }} {{- end }}
resources: resources:

View File

@ -103,9 +103,10 @@ persistence:
extraMounts: [] extraMounts: []
## Include additional claims that can be mounted inside the ## Include additional claims that can be mounted inside the
## pod. This is useful if you wish to use different paths with categories ## pod. This is useful if you wish to use different paths with categories
## Claim will me mounted as /{name} ## Claim will me mounted as /{mountPath}
# - name: video # - name: video
# claimName: video-claim # claimName: video-claim
# mountPath: /mnt/path/in/pod
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious