refactor(nfs-media): Refactor into subdirectory PVCs

This commit is contained in:
Peter 2026-05-14 15:50:02 +02:00
parent 3ac9c8071c
commit bae217dc34
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
24 changed files with 416 additions and 95 deletions

View file

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