Skip to content

Commit

Permalink
chore: Bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
keskad committed Nov 3, 2023
1 parent 7b60ce4 commit a270409
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/app/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"os"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/healthz"
"sigs.k8s.io/controller-runtime/pkg/metrics/server"
)

var (
Expand Down Expand Up @@ -71,9 +72,10 @@ func (app *PipelinesFeedbackApp) Run() error {
}

mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{
Scheme: scheme,
MetricsBindAddress: app.MetricsBindAddress,
Port: 9443,
Scheme: scheme,
Metrics: server.Options{
BindAddress: app.MetricsBindAddress,
},
HealthProbeBindAddress: app.HealthProbeBindAddress,
LeaderElection: app.LeaderElect,
LeaderElectionID: app.LeaderElectId + ".keskad.pl",
Expand Down

0 comments on commit a270409

Please sign in to comment.