Skip to content

Commit bae065a

Browse files
fix: revert changes on health-probe-bind-address
1 parent 2b3598c commit bae065a

File tree

1 file changed

+1
-1
lines changed
  • cmd/openmcp-operator/app

1 file changed

+1
-1
lines changed

cmd/openmcp-operator/app/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func NewRunCommand(so *SharedOptions) *cobra.Command {
6868
func (o *RunOptions) AddFlags(cmd *cobra.Command) {
6969
// kubebuilder default flags
7070
cmd.Flags().StringVar(&o.MetricsAddr, "metrics-bind-address", "0", "The address the metrics endpoint binds to. Use :8443 for HTTPS or :8080 for HTTP, or leave as 0 to disable the metrics service.")
71-
cmd.Flags().StringVar(&o.ProbeAddr, "health-probe-bind-address", ":8082", "The address the probe endpoint binds to.")
71+
cmd.Flags().StringVar(&o.ProbeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
7272
cmd.Flags().StringVar(&o.PprofAddr, "pprof-bind-address", "", "The address the pprof endpoint binds to. Expected format is ':<port>'. Leave empty to disable pprof endpoint.")
7373
cmd.Flags().BoolVar(&o.EnableLeaderElection, "leader-elect", false, "Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.")
7474
cmd.Flags().BoolVar(&o.SecureMetrics, "metrics-secure", true, "If set, the metrics endpoint is served securely via HTTPS. Use --metrics-secure=false to use HTTP instead.")

0 commit comments

Comments
 (0)