Skip to content

Commit 02fa901

Browse files
committed
Fix ControllerExpandVolume
1 parent a7a88c4 commit 02fa901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/hostpath/controllerserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ func (hp *hostPath) ControllerExpandVolume(ctx context.Context, req *csi.Control
812812

813813
return &csi.ControllerExpandVolumeResponse{
814814
CapacityBytes: exVol.VolSize,
815-
NodeExpansionRequired: true,
815+
NodeExpansionRequired: !hp.config.DisableNodeExpansion,
816816
}, nil
817817
}
818818

0 commit comments

Comments
 (0)