Update CSI snaphotter and make it independent (#7943)

* CSI: update CSI snapshot CRDs

* CSI: update snapshot controller tag version with kubernetes specific versions

* CSI: allow enabling csi_snapshot_controller independent of Cinder CSI

* CSI: Align csi-snapshot-controller with upstream and use a Deployment instead of a StatefulSet
This commit is contained in:
Cristian Calin
2021-09-06 14:24:29 +03:00
committed by GitHub
parent c8f3d88288
commit db470f8529
9 changed files with 641 additions and 439 deletions

View File

@@ -688,8 +688,14 @@ csi_node_driver_registrar_image_repo: "{{ quay_image_repo }}/k8scsi/csi-node-dri
csi_node_driver_registrar_image_tag: "v1.3.0"
csi_livenessprobe_image_repo: "{{ quay_image_repo }}/k8scsi/livenessprobe"
csi_livenessprobe_image_tag: "v2.0.0"
snapshot_controller_supported_versions:
v1.22: "v4.2.0"
v1.21: "v4.2.0"
v1.20: "v4.2.0"
v1.19: "v4.0.0"
snapshot_controller_image_repo: "{{ quay_image_repo }}/k8scsi/snapshot-controller"
snapshot_controller_image_tag: "v2.0.1"
snapshot_controller_image_tag: "{{ snapshot_controller_supported_versions[kube_major_version] }}"
cinder_csi_plugin_image_repo: "{{ docker_image_repo }}/k8scloudprovider/cinder-csi-plugin"
cinder_csi_plugin_image_tag: "v1.20.0"
@@ -1290,7 +1296,7 @@ downloads:
- kube_node
snapshot_controller:
enabled: "{{ cinder_csi_enabled }}"
enabled: "{{ csi_snapshot_controller_enabled }}"
container: true
repo: "{{ snapshot_controller_image_repo }}"
tag: "{{ snapshot_controller_image_tag }}"