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: main.go
+25-5Lines changed: 25 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -87,10 +87,13 @@ func main() {
87
87
"Enabling this will ensure there is only one active controller manager.")
88
88
89
89
region:=os.Getenv("CORALOGIX_REGION")
90
-
flag.StringVar(®ion, "region", region, fmt.Sprintf("The region of your Coralogix cluster. Can be one of %q.", validRegions))
90
+
flag.StringVar(®ion, "region", region, fmt.Sprintf("The region of your Coralogix cluster. Can be one of %q. Conflicts with 'domain'.", validRegions))
91
+
92
+
domain:=os.Getenv("CORALOGIX_DOMAIN")
93
+
flag.StringVar(&domain, "domain", domain, "The domain of your Coralogix cluster. Conflicts with 'region'.")
91
94
92
95
apiKey:=os.Getenv("CORALOGIX_API_KEY")
93
-
flag.StringVar(&apiKey, "api-key", apiKey, "The proper api-key based on your Coralogix cluster's region")
96
+
flag.StringVar(&apiKey, "api-key", apiKey, "The proper api-key based on your Coralogix cluster's region.")
94
97
95
98
varprometheusRuleControllerbool
96
99
flag.BoolVar(&prometheusRuleController, "prometheus-rule-controller", true, "Determine if the prometheus rule controller should be started. Default is true.")
0 commit comments