diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 87a5ecb6..a104deed 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -15,7 +15,7 @@ jobs: - name: Install go uses: actions/setup-go@v5 with: - go-version: 1.23.5 + go-version: 1.23.6 - name: Build an image from Dockerfile run: | diff --git a/pkg/nfs/nfs.go b/pkg/nfs/nfs.go index 03bf0445..919d078d 100644 --- a/pkg/nfs/nfs.go +++ b/pkg/nfs/nfs.go @@ -99,6 +99,7 @@ func NewDriver(options *DriverOptions) *Driver { volStatsCacheExpireInMinutes: options.VolStatsCacheExpireInMinutes, removeArchivedVolumePath: options.RemoveArchivedVolumePath, useTarCommandInSnapshot: options.UseTarCommandInSnapshot, + defaultOnDeletePolicy: options.DefaultOnDeletePolicy, } n.AddControllerServiceCapabilities([]csi.ControllerServiceCapability_RPC_Type{