chore: Refactor nfs PVC resource

This commit is contained in:
Peter 2026-04-17 21:15:46 +02:00
parent bd7d2794d4
commit 5c1a74db0e
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
10 changed files with 123 additions and 132 deletions

View file

@ -4,6 +4,7 @@ kind: Kustomization
namespace: qbittorrent
resources:
- ../../kustomize-bases/nfs-media
- configmap.yaml
- deployments.yaml
- ingress.yaml
@ -12,6 +13,25 @@ resources:
- services.yaml
- namespace.yaml
patches:
- target:
kind: PersistentVolume
name: nfs-media
patch: |
- op: replace
path: /metadata/name
value: nfs-media-qbittorrent
- op: replace
path: /spec/nfs/path
value: /tank/media/downloads
- target:
kind: PersistentVolumeClaim
name: nfs-media
patch: |
- op: replace
path: /spec/volumeName
value: nfs-media-qbittorrent
images:
- name: ghcr.io/qdm12/gluetun
newTag: v3.41.1@sha256:1a5bf4b4820a879cdf8d93d7ef0d2d963af56670c9ebff8981860b6804ebc8ab