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
Adds support of the modern CAPI manager flags to align some of them with
the new CAPI operator version (v0.24.0).
Deprecates the following flags:
- metrics-bind-address: interchanged with --diagnostics-address
- metrics-secure: interchanged with --insecure-diagnostics
- enable-http2: not needed anymore
Fixes#1214
Signed-off-by: Michael Morgen <[email protected]>
varmetricsAddrstring// deprecated, use capi's diagnostics-address instead
90
93
varenableLeaderElectionbool
91
-
varsecureMetricsbool
92
-
varenableHTTP2bool
94
+
varsecureMetricsbool// deprecated, use capi's insecure-diagnostics instead
95
+
varenableHTTP2bool// deprecated
93
96
varprobeAddrstring
94
97
varenabledControllerstring
95
-
flag.StringVar(&metricsAddr, "metrics-bind-address", ":8443", "The address the metric endpoint binds to. "+
98
+
99
+
pflag.CommandLine.StringVar(&metricsAddr, "metrics-bind-address", ":8443", "[Deprecated, use --diagnostics-address instead] The address the metric endpoint binds to. "+
96
100
"Use :8080 for http and :8443 for https. Setting to 0 will disable the metrics endpoint.")
97
-
flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
"[Deprecated, use --insecure-diagnostics instead] If set, the metrics endpoint is served securely via HTTPS. Use --metrics-secure=false to use HTTP instead.")
0 commit comments