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
+8-7
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ const (
50
50
51
51
// Command line flags
52
52
var (
53
-
snapshotter=flag.String("snapshotter", "", "Name of the snapshotter. The snapshotter will only create snapshot content for snapshot that requests a VolumeSnapshotClass with a snapshotter field set equal to this name.")
53
+
snapshotter=flag.String("snapshotter", "", "This option is deprecated.")
54
54
kubeconfig=flag.String("kubeconfig", "", "Absolute path to the kubeconfig file. Required only when running out of cluster.")
55
55
connectionTimeout=flag.Duration("connection-timeout", 0, "The --connection-timeout flag is deprecated")
56
56
csiAddress=flag.String("csi-address", "/run/csi/socket", "Address of the CSI driver socket.")
@@ -79,6 +79,9 @@ func main() {
79
79
if*connectionTimeout!=0 {
80
80
glog.Warning("--connection-timeout is deprecated and will have no effect")
81
81
}
82
+
if*snapshotter!="" {
83
+
glog.Warning("--snapshotter is deprecated and will have no effect")
84
+
}
82
85
83
86
// Create the client config. Use kubeconfig if given, otherwise assume in-cluster.
0 commit comments