You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/csi-snapshotter/main.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -58,10 +58,11 @@ const (
58
58
var (
59
59
snapshotterName=flag.String("snapshotter", "", "This option is deprecated.")
60
60
kubeconfig=flag.String("kubeconfig", "", "Absolute path to the kubeconfig file. Required only when running out of cluster.")
61
-
connectionTimeout=flag.Duration("connection-timeout", 0, "The --connection-timeout flag is deprecated")
61
+
connectionTimeout=flag.Duration("connection-timeout", 0, "The --connection-timeout flag is deprecated, use --timeout to set a timeout for volume operations")
62
62
csiAddress=flag.String("csi-address", "/run/csi/socket", "Address of the CSI driver socket.")
63
63
createSnapshotContentRetryCount=flag.Int("create-snapshotcontent-retrycount", 5, "Number of retries when we create a snapshot content object for a snapshot.")
64
64
createSnapshotContentInterval=flag.Duration("create-snapshotcontent-interval", 10*time.Second, "Interval between retries when we create a snapshot content object for a snapshot.")
65
+
operationTimeout=flag.Duration("timeout", 10*time.Second, "Timeout for volume operations")
65
66
resyncPeriod=flag.Duration("resync-period", 60*time.Second, "Resync interval of the controller.")
66
67
snapshotNamePrefix=flag.String("snapshot-name-prefix", "snapshot", "Prefix to apply to the name of a created snapshot")
67
68
snapshotNameUUIDLength=flag.Int("snapshot-name-uuid-length", -1, "Length in characters for the generated uuid of a created snapshot. Defaults behavior is to NOT truncate.")
0 commit comments