chore: Refactor nfs PVC resource
This commit is contained in:
parent
bd7d2794d4
commit
5c1a74db0e
10 changed files with 123 additions and 132 deletions
|
|
@ -4,6 +4,7 @@ kind: Kustomization
|
|||
namespace: sonarr
|
||||
|
||||
resources:
|
||||
- ../../kustomize-bases/nfs-media
|
||||
- configmap.yaml
|
||||
- deployments.yaml
|
||||
- ingress.yaml
|
||||
|
|
@ -12,6 +13,22 @@ resources:
|
|||
- services.yaml
|
||||
- namespace.yaml
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: PersistentVolume
|
||||
name: nfs-media
|
||||
patch: |
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: nfs-media-sonarr
|
||||
- target:
|
||||
kind: PersistentVolumeClaim
|
||||
name: nfs-media
|
||||
patch: |
|
||||
- op: replace
|
||||
path: /spec/volumeName
|
||||
value: nfs-media-sonarr
|
||||
|
||||
images:
|
||||
- name: linuxserver/sonarr
|
||||
newTag: 4.0.17@sha256:6854df9de20b8c82e1982604f39473d64dbb4c4584b1013f18f9ade1ee92af13
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue