Upgrade VAST Block CSI Driver

Prev Next

Steps to Upgrade VAST Block CSI Driver

Choose your upgrade path:

  • To upgrade from 2.6.3 or later to 2.7.x:
    • Follow the procedure for upgrading a Helm-based deployment.
  • To upgrade from 2.6.2 or earlier to 2.7.x:
    1. Delete all storage classes created via Helm in versions prior to 2.6.3 and recreate them via Helm so that the driver applies the secretName and secretNamespace settings to them (introduced in 2.6.3).
    2. Follow the procedure for upgrading a Helm-based deployment.

Upgrade Helm-Based Deployment of VAST Block CSI Driver

Complete these steps to upgrade VAST Block CSI Driver:

  1. Refresh Helm repository information to see which VAST Block CSI Driver versions are available for deployment:

    helm repo update
    
  2. Update the VAST Block CSI Driver's Helm chart configuration file (values.yaml) to specify the target release of the driver:

    image:
      csiVastPlugin:
        repository: <repo>
        tag: <new release>
        imagePullPolicy: IfNotPresent
    
    • <repo> is the name of the Helm repository.

    • <new release> is the driver release to be upgraded to.

    For example:

    image:
      csiVastPlugin:
        repository: vastdataorg/csi
        tag: v2.7.0
        imagePullPolicy: IfNotPresent
    
  3. Run Helm upgrade:

    helm upgrade <old release> <repo>/vastblock -f <filename>.yaml
    

    Where:

    • <old release> is the driver release to be upgraded from.

    • <repo> is the name of the Helm repository.

    • vastblock is the name of the driver's Helm chart.

    • <filename>.yaml is the Helm chart configuration file.

  4. Verify the status of the new release:

    helm ls