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

View File

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