Add media

This commit is contained in:
Tyler Perkins 2023-10-04 21:08:37 -04:00
parent 09bf69665d
commit 0bab9759fd
2 changed files with 12 additions and 5 deletions

View File

@ -3,8 +3,8 @@ kind: HelmRelease
metadata:
name: plex
namespace: plex-ns
annotations:
force-recreate: true
#annotations:
#force-recreate: true
spec:
chart:
spec:
@ -14,7 +14,7 @@ spec:
kind: HelmRepository
name: k8s-homelab
namespace: flux-system
interval: 15m0s
interval: 15m0s
timeout: 5m
releaseName: plex
values:
@ -103,6 +103,13 @@ spec:
size: 120Gi
accessMode: ReadWriteOnce
mountPath: "/config"
media:
enabled: true
existingClaim: "plex-pv-media"
storageClass: "local-storage"
size: 18000Gi
accessMode: ReadWriteMany
mountPath: "/data"
# transcode:
# enabled: false

View File

@ -7,12 +7,12 @@ spec:
capacity:
storage: 18000Gi
accessModes:
- ReadWriteOnce
- ReadWriteMany
hostPath:
path: "/Main/Media"
nodeAffinity:
required:
nodeSelectorTerms:
ndeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In