--- title: "Install CRDs to Protect Volumes with VAST Snapshots" slug: "install-crds-to-protect-volumes-with-vast-snapshots-2-4" updated: 2026-10-28T02:14:51Z published: 2026-10-28T02:14:51Z canonical: "docs.vastdata.com/install-crds-to-protect-volumes-with-vast-snapshots-2-4" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # Install CRDs to Protect Volumes with VAST Snapshots This step is required if the driver's Helm chart configuration file (`values.yaml`) has `secretName` and `Endpoint` specified as global options (on top of `values.yaml`). This step is optional only when `secretName` and `secretNamespace` are specified within one or more storage classes (or under `StorageClassDefaults`). Run the following commands to install the CRDs for snapshots: ```plaintext kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v7.0.1/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v7.0.1/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v7.0.1/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v7.0.1/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v7.0.1/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml ```