diff --git a/driver/node.go b/driver/node.go index e2efd071..0139dcbf 100644 --- a/driver/node.go +++ b/driver/node.go @@ -106,7 +106,7 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe source := getDeviceByIDPath(volumeName) - luksContext := getLuksContext(req.Secrets, publishContext, VolumeLifecycleNodeStageVolume) + luksContext := getLuksContext(req.Secrets, req.VolumeContext, VolumeLifecycleNodeStageVolume) target := req.StagingTargetPath