From b21d4962c3da66b894eb0985fcc2561c3de77939 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Sat, 28 Dec 2024 12:28:06 +0000 Subject: [PATCH] And storageclass Signed-off-by: Martyn Ranyard --- .../smb-storageclasses/sc-youtube.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 apps-kustomized/smb-storageclasses/sc-youtube.yaml diff --git a/apps-kustomized/smb-storageclasses/sc-youtube.yaml b/apps-kustomized/smb-storageclasses/sc-youtube.yaml new file mode 100644 index 0000000..986496d --- /dev/null +++ b/apps-kustomized/smb-storageclasses/sc-youtube.yaml @@ -0,0 +1,17 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: smb-youtube +provisioner: smb.csi.k8s.io +parameters: + source: "//172.20.0.70/youtube" + csi.storage.k8s.io/node-stage-secret-name: smb-creds + csi.storage.k8s.io/node-stage-secret-namespace: kube-system +reclaimPolicy: Retain +volumeBindingMode: Immediate +mountOptions: + - dir_mode=0777 + - file_mode=0777 + - uid=1001 + - gid=1001 + - noperm