Skip to content

Commit b11ccda

Browse files
author
Xin Wang
committed
add expand volume target size flag
Signed-off-by: Xin Wang <wileywang@yunify.com>
1 parent 82b0519 commit b11ccda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/csi-sanity/sanity_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ func init() {
4848
flag.IntVar(&config.RemovePathCmdTimeout, prefix+"removepathcmdtimeout", 10, "Timeout for the commands to remove target and staging paths, in seconds")
4949
flag.StringVar(&config.SecretsFile, prefix+"secrets", "", "CSI secrets file")
5050
flag.Int64Var(&config.TestVolumeSize, prefix+"testvolumesize", sanity.DefTestVolumeSize, "Base volume size used for provisioned volumes")
51+
flag.Int64Var(&config.TestVolumeExpandSize, prefix+"testvolumeexpandsize", 0, "Target size for expanded volumes")
5152
flag.StringVar(&config.TestVolumeParametersFile, prefix+"testvolumeparameters", "", "YAML file of volume parameters for provisioned volumes")
5253
flag.BoolVar(&config.TestNodeVolumeAttachLimit, prefix+"testnodevolumeattachlimit", false, "Test node volume attach limit")
5354
flag.StringVar(&config.JUnitFile, prefix+"junitfile", "", "JUnit XML output file where test results will be written")

0 commit comments

Comments
 (0)