Revert "Remove ll of samba csi"

This reverts commit 90aede9b7b.
This commit is contained in:
2025-01-28 23:37:08 +00:00
parent 90aede9b7b
commit 650c505f28
7 changed files with 156 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
name: pv-smb-tower-tv
spec:
capacity:
storage: 48Ti
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: smb
mountOptions:
- dir_mode=0777
- file_mode=0777
csi:
driver: smb.csi.k8s.io
# make sure this value is unique for every share in the cluster
volumeHandle: tower/tv
volumeAttributes:
source: //192.168.1.100/tv
nodeStageSecretRef:
name: smbcreds
namespace: kube-system
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc-smb-tower-tv
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 48Ti
volumeName: pv-smb-tower-tv
storageClassName: smb