mirror of
https://github.com/cristicalin/synology-csi.git
synced 2026-05-17 06:52:25 +00:00
support kubernetes 1.22
This commit is contained in:
14
deploy/kubernetes/v1.22/storage-class.yml
Normal file
14
deploy/kubernetes/v1.22/storage-class.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: synology-iscsi-storage
|
||||
# annotations:
|
||||
# storageclass.kubernetes.io/is-default-class: "true"
|
||||
provisioner: csi.san.synology.com
|
||||
# if all params are empty, synology CSI will choose an available location to create volume
|
||||
# parameters:
|
||||
# dsm: '1.1.1.1'
|
||||
# location: '/volume1'
|
||||
# fsType: 'ext4'
|
||||
reclaimPolicy: Retain
|
||||
allowVolumeExpansion: true
|
||||
Reference in New Issue
Block a user