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
httpEndpoint=flag.String("http-endpoint", "", "The TCP network address where the prometheus metrics endpoint will listen (example: `:8080`). The default is empty string, which means metrics endpoint is disabled.")
38
-
metricsPath=flag.String("metrics-path", "/metrics", "The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.")
39
-
lustreAPIEndpoint=flag.String("lustre-endpoint", "", "Lustre API service endpoint, supported values are autopush, staging and prod.")
40
-
cloudConfigFilePath=flag.String("cloud-config", "", "Path to GCE cloud provider config")
41
-
enableLegacyLustrePort=flag.Bool("enable-legacy-lustre-port", false, "If set to true, the CSI driver controller will provision Lustre instance with the gkeSupportEnabled flag")
42
-
enableLabelController=flag.Bool("enable-label-controller", true, "If true, the label controller will be started.")
httpEndpoint=flag.String("http-endpoint", "", "The TCP network address where the prometheus metrics endpoint will listen (example: `:8080`). The default is empty string, which means metrics endpoint is disabled.")
38
+
metricsPath=flag.String("metrics-path", "/metrics", "The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.")
39
+
lustreAPIEndpoint=flag.String("lustre-endpoint", "", "Lustre API service endpoint, supported values are autopush, staging and prod.")
40
+
cloudConfigFilePath=flag.String("cloud-config", "", "Path to GCE cloud provider config")
41
+
enableLegacyLustrePort=flag.Bool("enable-legacy-lustre-port", false, "If set to true, the CSI driver controller will provision Lustre instance with the gkeSupportEnabled flag")
42
+
enableLabelController=flag.Bool("enable-label-controller", true, "If true, the label controller will be started.")
43
+
leaderElectionNamespace=flag.String("leader-election-namespace", "", "Namespace where the leader election resource will be created. Required for out-of-cluster deployments.")
43
44
44
45
// These are set at compile time.
45
46
version="unknown"
@@ -97,7 +98,7 @@ func main() {
97
98
if*enableLabelController {
98
99
gofunc() {
99
100
// Pass empty string for kubeconfig to let controller-runtime handle the flag
0 commit comments