Rebase Jellyfin smb volumes

This commit is contained in:
2025-07-08 15:51:02 +10:00
parent 09d4209513
commit aeaa0da2f0
12 changed files with 128 additions and 82 deletions

View File

@ -8,6 +8,10 @@ spec:
server: https://kubernetes.default.svc
namespace: jellyfin
project: default
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
sources:
- repoURL: https://code.spamasaurus.com/djpbessems/Kubernetes.K3s.installLog
path: services/PVR/Jellyfin/manifests

View File

@ -0,0 +1,33 @@
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
name: csismb-jellyfin-config
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: csismb-jellyfin-config
mountOptions:
- dir_mode=0777
- file_mode=0777
- uid=911
- gid=911
# - nobrl
- cache=none
- mfsymlinks
- noserverino # required to prevent data corruption
csi:
driver: smb.csi.k8s.io
# volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name}
# make sure this value is unique for every share in the cluster
volumeHandle: 192.168.154.195#jellyfin#config
volumeAttributes:
source: //192.168.154.195/K3s.Volumes
subDir: jellyfin/config
nodeStageSecretRef:
name: smb-credentials
namespace: jellyfin

View File

@ -0,0 +1,33 @@
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
name: csismb-jellyfin-movies
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: csismb-jellyfin-movies
mountOptions:
- dir_mode=0777
- file_mode=0777
- uid=911
- gid=911
# - nobrl
- cache=none
- mfsymlinks
- noserverino # required to prevent data corruption
csi:
driver: smb.csi.k8s.io
# volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name}
# make sure this value is unique for every share in the cluster
volumeHandle: 192.168.154.195#jellyfin#movies
volumeAttributes:
source: //192.168.154.195/Public
subDir: Video's/Films
nodeStageSecretRef:
name: smb-credentials
namespace: jellyfin

View File

@ -0,0 +1,33 @@
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
name: csismb-jellyfin-series
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: csismb-jellyfin-series
mountOptions:
- dir_mode=0777
- file_mode=0777
- uid=911
- gid=911
# - nobrl
- cache=none
- mfsymlinks
- noserverino # required to prevent data corruption
csi:
driver: smb.csi.k8s.io
# volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name}
# make sure this value is unique for every share in the cluster
volumeHandle: 192.168.154.195#jellyfin#series
volumeAttributes:
source: //192.168.154.195/Public
subDir: Video's/Series
nodeStageSecretRef:
name: smb-credentials
namespace: jellyfin

View File

@ -1,19 +0,0 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: flexvolsmb-jellyfin-config
namespace: jellyfin
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-jellyfin-config
flexVolume:
driver: mount/smb
secretRef:
name: flexvolsmb-credentials
options:
opts: file_mode=0777,dir_mode=0777,uid=911,gid=911,iocharset=utf8,cache=none
server: 192.168.154.195
share: /K3s.Volumes/jellyfin/config

View File

@ -1,19 +0,0 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: flexvolsmb-jellyfin-movies
namespace: jellyfin
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-jellyfin-movies
flexVolume:
driver: mount/smb
secretRef:
name: flexvolsmb-credentials
options:
opts: file_mode=0777,dir_mode=0777,uid=911,gid=911,iocharset=utf8,cache=none
server: 192.168.154.195
share: /Public/Video's/Films

View File

@ -1,19 +0,0 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: flexvolsmb-jellyfin-series
namespace: jellyfin
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-jellyfin-series
flexVolume:
driver: mount/smb
secretRef:
name: flexvolsmb-credentials
options:
opts: file_mode=0777,dir_mode=0777,uid=911,gid=911,iocharset=utf8,cache=none
server: 192.168.154.195
share: /Public/Video's/Series

View File

@ -1,12 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: flexvolsmb-jellyfin-movies
name: csismb-jellyfin-config
namespace: jellyfin
spec:
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-jellyfin-movies
resources:
requests:
storage: 1Gi
storageClassName: csismb-jellyfin-config

View File

@ -1,12 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: flexvolsmb-jellyfin-series
name: csismb-jellyfin-movies
namespace: jellyfin
spec:
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-jellyfin-series
resources:
requests:
storage: 1Gi
storageClassName: csismb-jellyfin-movies

View File

@ -1,12 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: flexvolsmb-jellyfin-config
name: csismb-jellyfin-series
namespace: jellyfin
spec:
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-jellyfin-config
resources:
requests:
storage: 1Gi
storageClassName: csismb-jellyfin-series

View File

@ -1,16 +0,0 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: flexvolsmb-credentials
namespace: jellyfin
spec:
encryptedData:
password: AgCSzsJlQR2jIMsm7R9goGzziFCEb9quF+tvfXN3dKqWo/zviB4eU5CZ243bEX71eygU+1K7NpcPMF3yD1OB/QBsEKL1Lr62IcHeAHEnsySa2twfLR2wIINXm2kR946HRlmMkroUiJMAdDYCuYnXPxWRewmotvNL1ODK7Yu4rtaZbMjYrV/PDz8I6xIWmpTlsOOI7oj25ZngxS0W8OPMNn83yDR4zgsX2CenNygOfCXdYzJJcMv2Ubue/LxUt3z+RLQznu3/2h8bElauxlJC6QCHXTbjzOX3iFVbFFzn65a8NJIaPysFu+Fi68Vd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UMLEOg87I4h+C8p2k94UK7tQ4x9ZSL2dgIFf/wkf5/Ob6HTIFM=
template:
metadata:
creationTimestamp: null
name: flexvolsmb-credentials
namespace: jellyfin
type: mount/smb

View File

@ -0,0 +1,16 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: smb-credentials
namespace: jellyfin
spec:
encryptedData:
password: AgAKjCGM2YuuGiRc2ix7Hh3f71QfBH16jrU6i3WFH1ypVWwpkIsiiV1SGYfxUMuweW0xByl+54DvtWEpI9dJglvZpDgfdP4Br4jrzeF0if5eAnQA1nC2CXYAps49Do2YKR8umudp7J+Januugh8lRNz2RQUcDV0vtPWZJGOLTUK8ha4pL87IhQeGojW9eBc+iAL5pypWIyCsKJ0y8eq4JP6ZpO12XtNggcqa/QVdJrKAVJZnEjIHMO+g5mblNmrM+xjLQhsynHZE+88tPjpAFSpsymhT+841dd7yQqWN4WlSuVkPiDEKJHrSV/q+BQliVHXzWupdYJ2NXQn1R0Xzaw7IROEvk1Dhob4sQaYhI4m1hX0uD2ldYnY2KHY0FFMXJz+rIN/yNSokk+P8/Uh6qtslHfCHfanGtIZrAN2HZz83Q0CJu6YIzSgn1K05NDvXSJ2oRRs3RgootVXYiwm7snrDyAm1nLZ07fxP0omq5ZN1G5HzCZhYV6JCeF1MSejI89oK9cbmqJJFOcOVjs8PBFlFhFJrcsWJjx9z1e9GhNJKBj4xp7rX+nU+kXBqxlp2ZbliUJd8jlFKsihWj4T02ppekFwZee7ryLVhOllvd1QKwFKotwuhQVSJCiHFflKvwvcmqJ0nUv+L7COxPhFJHrmsCNmRH06hYIWoLYu61R+1U/ZY5BRXeWeClYKdAZOjahH5e+4f68kEUiGpb7tOWgNC
username: AgA/L2pauimeaL9iM9ng0HK9biOqQojt07f1eFLu2P6s/KrCFIAp7ItfMIPRjb9W/QLcAPmaEnHTweMejw9c2cybewlDrr+UlqRUZbCsKoIjh9AkrRthJAIv01u+KLGNrCpzsNeGdGc3QaBS1wE/DiYEN3tvgfcc6o/9wen9bGSaN/jJ1bfHfDIdO1Ccuo+92oIYxQbfl7M1Cm+9K8/LCOdNdT6vZr9+3LfnE1h7Qd8cSRg1Oo82X49Qo7b6HLofz7Y9YN3syxLjnVKZu4LHpmVWPsA1OXDaK70g90gnfLdk5qT264Snp+74NTszKTa+Eyceuw4Ztqf0KoraFrWMG+dpTnQ2NAsFfIw5rp7Wh45xMpOU7GWlaWu9PtD4mYGFBOsNlJllfBzabPE8SL/nB0AAq8PPrt2qIpshMBi+DA53bVZ0+pG+bL6bBGboWDnebrzXYjX8x3iQcg433BcvxIS/AAYBRIlrReaoYuvh1+qETDv3gcQzH5S4g4s4cXAQuvLaEHGHHZbh9Y37cr6SN/RsTv8L8ZEYprDf37sFJPx+JPDAXwhxvjl8i1a7ehAr3uSTrqg0AfPqdhC4ZrPN5QMGXGdhxzInsEzG3IRW1Xpey3ioD4coreywm2xZ4iMTtAL9RXAYbFAhRCPPpe+5hnsNZbNTIlFwyPldaLwZC8CGkqA4AJx+4FUFes5pbg0jgQoPNGDlgLo=
template:
metadata:
creationTimestamp: null
name: smb-credentials
namespace: jellyfin
type: Opaque