Skip to content

Commit 0b7503b

Browse files
committed
nzbhydra mount nfs
Signed-off-by: solidDoWant <[email protected]>
1 parent fc71ca7 commit 0b7503b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

cluster/apps/media/nzbhydra2/helm-release.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,27 @@ spec:
3434
- hosts:
3535
- "nzbhydra2.${SECRET_DOMAIN}"
3636
secretName: nzbhydra2-${SECRET_DOMAIN/./-}-tls
37+
podSecurityContext:
38+
fsGroup: ${NFS_GROUP_ID}
39+
fsGroupChangePolicy: "OnRootMismatch"
3740
persistence:
3841
config:
3942
enabled: true
4043
mountPath: /config
4144
size: 10Gi
45+
media:
46+
enabled: true
47+
type: custom
48+
accessMode: ReadWriteMany
49+
mountPath: /mnt/media
50+
volumeSpec:
51+
nfs:
52+
server: ${NFS_ADDRESS}
53+
path: ${NFS_MEDIA_PATH}
4254
env:
4355
TZ: "${TIMEZONE}"
56+
PUID: ${NFS_USER_ID}
57+
PGID: ${NFS_GROUP_ID}
4458
probes:
4559
liveness:
4660
spec:

0 commit comments

Comments
 (0)