From c7e0e708e3d1348efb5419dc7267f63d27de9abc Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Wed, 26 Nov 2025 09:42:44 +0100 Subject: [PATCH] Restore help string for --csi-address The old help text was better. CSI volumes don't have sockets, CSI drivers have. --- standardflags/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standardflags/flags.go b/standardflags/flags.go index 54a2d12e..2289c9c7 100644 --- a/standardflags/flags.go +++ b/standardflags/flags.go @@ -49,7 +49,7 @@ var Configuration = SidecarConfiguration{} func RegisterCommonFlags(flags *flag.FlagSet) { flags.BoolVar(&Configuration.ShowVersion, "version", false, "Show version.") flags.StringVar(&Configuration.KubeConfig, "kubeconfig", "", "Absolute path to the kubeconfig file. Required only when running out of cluster.") - flags.StringVar(&Configuration.CSIAddress, "csi-address", "/run/csi/socket", "The gRPC endpoint for Target CSI Volume.") + flags.StringVar(&Configuration.CSIAddress, "csi-address", "/run/csi/socket", "Address of the CSI driver socket.") flags.BoolVar(&Configuration.LeaderElection, "leader-election", false, "Enable leader election.") flags.StringVar(&Configuration.LeaderElectionNamespace, "leader-election-namespace", "", "Namespace where the leader election resource lives. Defaults to the pod namespace if not set.") flags.DurationVar(&Configuration.LeaderElectionLeaseDuration, "leader-election-lease-duration", 15*time.Second, "Duration, in seconds, that non-leader candidates will wait to force acquire leadership. Defaults to 15 seconds.")