Skip to content

Commit 4249ed5

Browse files
authored
Merge pull request kubernetes-csi#599 from carlory/fix-ControllerExpandVolume
Fix ControllerExpandVolume
2 parents a7a88c4 + 02fa901 commit 4249ed5

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)