storageclass back?

This commit is contained in:
2024-08-19 00:03:53 +01:00
parent acfaacc3da
commit 05ff8412d3
3 changed files with 12 additions and 35 deletions

View File

@@ -0,0 +1,11 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: local-storage
annotations:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: rancher.io/local-path
parameters:
nodePath: /usr/local
pathPattern: "{{ .PVC.Namespace }}/{{ .PVC.Name }}"
reclaimPolicy: Retain