add local storage class

This commit is contained in:
TapTap committed 2026-10-13 18:13:21 +02:00
commit b7f278c9ec
1 file changed
+10
+10
View File
@@ -0,0 +1,10 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: local-persistent-storage
provisioner: rancher.io/local-path
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain
parameters:
nodePath: /mnt/data
pathPattern: "{{ .PVC.Namespace }}/{{ .PVC.Name }}/{{ .PVName }}"