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-provisioner/csi-provisioner.go
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,11 +48,12 @@ var (
48
48
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.")
49
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
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")
51
+
csiEndpoint=flag.String("csi-address", "/run/csi/socket", "The gRPC endpoint for Target CSI Volume.")
52
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")
53
+
volumeNamePrefix=flag.String("volume-name-prefix", "pvc", "Prefix to apply to the name of a created volume.")
54
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.")
0 commit comments