refactor(nfs-media): Refactor into subdirectory PVCs
This commit is contained in:
parent
3ac9c8071c
commit
37fb0af5c7
22 changed files with 385 additions and 86 deletions
|
|
@ -4,7 +4,6 @@ kind: Kustomization
|
|||
namespace: qbittorrent
|
||||
|
||||
resources:
|
||||
- ../../kustomize-bases/nfs-media
|
||||
- configmap.yaml
|
||||
- deployments.yaml
|
||||
- ingress.yaml
|
||||
|
|
@ -12,24 +11,24 @@ resources:
|
|||
- secrets.yaml
|
||||
- namespace.yaml
|
||||
|
||||
components:
|
||||
- ../../kustomize-bases/nfs-media/components/downloads
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: PersistentVolume
|
||||
name: nfs-media
|
||||
name: nfs-media-downloads
|
||||
patch: |
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: nfs-media-qbittorrent
|
||||
- op: replace
|
||||
path: /spec/nfs/path
|
||||
value: /tank/media/downloads
|
||||
value: nfs-media-qbittorrent-downloads
|
||||
- target:
|
||||
kind: PersistentVolumeClaim
|
||||
name: nfs-media
|
||||
name: nfs-media-downloads
|
||||
patch: |
|
||||
- op: replace
|
||||
path: /spec/volumeName
|
||||
value: nfs-media-qbittorrent
|
||||
value: nfs-media-qbittorrent-downloads
|
||||
|
||||
images:
|
||||
- name: ghcr.io/qdm12/gluetun
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue