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
provisioner=flag.String("provisioner", "", "Name of the provisioner. The provisioner will only provision volumes for claims that request a StorageClass with a provisioner field set equal to this name. If omitted, CSI driver name is used.")
49
-
master=flag.String("master", "", "Master URL to build a client config from. Either this or kubeconfig needs to be set if the provisioner is being run out of cluster.")
50
-
kubeconfig=flag.String("kubeconfig", "", "Absolute path to the kubeconfig file. Either this or master needs to be set if the provisioner is being run out of cluster.")
51
-
csiEndpoint=flag.String("csi-address", "/run/csi/socket", "The gRPC endpoint for Target CSI Volume.")
52
-
connectionTimeout=flag.Duration("connection-timeout", 10*time.Second, "Timeout for waiting for CSI driver socket.")
53
-
volumeNamePrefix=flag.String("volume-name-prefix", "pvc", "Prefix to apply to the name of a created volume.")
54
-
volumeNameUUIDLength=flag.Int("volume-name-uuid-length", -1, "Truncates generated UUID of a created volume to this length. Defaults behavior is to NOT truncate.")
enableLeaderElection=flag.Bool("enable-leader-election", false, "Enables leader election. If leader election is enabled, additional RBAC rules are required. Please refer to the Kubernetes CSI documentation for instructions on setting up these RBAC rules.")
57
-
featureGatesmap[string]bool
50
+
provisioner=flag.String("provisioner", "", "Name of the provisioner. The provisioner will only provision volumes for claims that request a StorageClass with a provisioner field set equal to this name. If omitted, CSI driver name is used.")
51
+
master=flag.String("master", "", "Master URL to build a client config from. Either this or kubeconfig needs to be set if the provisioner is being run out of cluster.")
52
+
kubeconfig=flag.String("kubeconfig", "", "Absolute path to the kubeconfig file. Either this or master needs to be set if the provisioner is being run out of cluster.")
53
+
csiEndpoint=flag.String("csi-address", "/run/csi/socket", "The gRPC endpoint for Target CSI Volume.")
54
+
connectionTimeout=flag.Duration("connection-timeout", 10*time.Second, "Timeout for waiting for CSI driver socket.")
55
+
volumeNamePrefix=flag.String("volume-name-prefix", "pvc", "Prefix to apply to the name of a created volume.")
56
+
volumeNameUUIDLength=flag.Int("volume-name-uuid-length", -1, "Truncates generated UUID of a created volume to this length. Defaults behavior is to NOT truncate.")
enableLeaderElection=flag.Bool("enable-leader-election", false, "Enables leader election. If leader election is enabled, additional RBAC rules are required. Please refer to the Kubernetes CSI documentation for instructions on setting up these RBAC rules.")
flag.Var(utilflag.NewMapStringBool(&featureGates), "feature-gates", "A set of key=value pairs that describe feature gates for alpha/experimental features. "+
flag.Var(utilflag.NewMapStringString(&pvcAnnotationMappings), "pvc-annotation-mappings", "A set of key=value pairs that describe how pvc annotation should be mapped to parameters that are passed to csi drivers.")
69
73
70
74
flag.CommandLine.AddGoFlagSet(goflag.CommandLine)
71
75
flag.Parse()
@@ -148,7 +152,7 @@ func init() {
148
152
149
153
// Create the provisioner: it implements the Provisioner interface expected by
0 commit comments