Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions manifests/vanilla/deploy-csi-snapshot-components.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Ensure that block-volume-snapshot feature is enabled.
1. Deploys the VolumeSnapshot CRDs
2. Creates RBAC rules to support VolumeSnapshot
3. Deploys snapshot-controller in kube-system namespace
4. Cleans up the snapshot validation webhook deployment if previously deployed, since it is removed from snapshotter version v8.2.0
4. Cleans up the snapshot validation webhook deployment if previously deployed, since it is removed from snapshotter version v8.4.0
5. Patches vSphere CSI driver to deploy the csi-snapshotter sidecar

The script fails if there is an existing snapshot-controller with unqualified versions
Expand All @@ -50,7 +50,7 @@ if ! command -v kubectl > /dev/null; then
exit 1
fi

qualified_version="v8.2.0"
qualified_version="v8.4.0"
volumesnapshotclasses_crd="volumesnapshotclasses.snapshot.storage.k8s.io"
volumesnapshotcontents_crd="volumesnapshotcontents.snapshot.storage.k8s.io"
volumesnapshots_crd="volumesnapshots.snapshot.storage.k8s.io"
Expand Down Expand Up @@ -288,7 +288,7 @@ else
deploy_snapshot_controller
fi

# Snapshot validating webhook has been deprecated and removed from v8.2.0, hence remove the webhook
# Snapshot validating webhook has been deprecated and removed from v8.4.0, hence remove the webhook
remove_validation_webhook

# Check if vSphere CSI Driver has the snapshotter sidecar with correct version, if not patch the deployment
Expand Down
12 changes: 6 additions & 6 deletions manifests/vanilla/vsphere-csi-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ spec:
dnsPolicy: "Default"
containers:
- name: csi-attacher
image: registry.k8s.io/sig-storage/csi-attacher:v4.9.0
image: registry.k8s.io/sig-storage/csi-attacher:v4.10.0
args:
- "--v=4"
- "--timeout=300s"
Expand All @@ -260,7 +260,7 @@ spec:
- mountPath: /csi
name: socket-dir
- name: csi-resizer
image: registry.k8s.io/sig-storage/csi-resizer:v1.12.0
image: registry.k8s.io/sig-storage/csi-resizer:v2.0.0
args:
- "--v=4"
- "--timeout=300s"
Expand Down Expand Up @@ -378,7 +378,7 @@ spec:
name: vsphere-config-volume
readOnly: true
- name: csi-provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.1
image: registry.k8s.io/sig-storage/csi-provisioner:v6.1.0
args:
- "--v=4"
- "--timeout=300s"
Expand All @@ -400,7 +400,7 @@ spec:
- mountPath: /csi
name: socket-dir
- name: csi-snapshotter
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.4.0
args:
- "--v=4"
- "--kube-api-qps=100"
Expand Down Expand Up @@ -452,7 +452,7 @@ spec:
dnsPolicy: "ClusterFirstWithHostNet"
containers:
- name: node-driver-registrar
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.13.0
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.14.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
Expand Down Expand Up @@ -603,7 +603,7 @@ spec:
hostNetwork: true
containers:
- name: node-driver-registrar
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.13.0
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.14.0
command:
- "csi-node-driver-registrar.exe"
args:
Expand Down