Skip to content

Commit dca75b7

Browse files
committed
feat(cmd): disable secure metrics by default
1 parent 6f9963c commit dca75b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func main() {
5757
flag.BoolVar(&enableLeaderElection, "leader-elect", false,
5858
"Enable leader election for controller manager. "+
5959
"Enabling this will ensure there is only one active controller manager.")
60-
flag.BoolVar(&secureMetrics, "metrics-secure", true,
60+
flag.BoolVar(&secureMetrics, "metrics-secure", false,
6161
"If set, the metrics endpoint is served securely via HTTPS. Use --metrics-secure=false to use HTTP instead.")
6262
flag.StringVar(&metricsCertPath, "metrics-cert-path", "",
6363
"The directory that contains the metrics server certificate.")

0 commit comments

Comments
 (0)