support kubernetes 1.22

This commit is contained in:
CALIN Cristian Andrei
2021-09-13 12:06:49 +03:00
parent 33076f1d58
commit edbb640d7b
7 changed files with 448 additions and 0 deletions

View 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