Skip to content

Commit

Permalink
Fix webhook server port (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
ordovicia authored Feb 20, 2024
1 parent d3a0132 commit e13b140
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
"sigs.k8s.io/controller-runtime/pkg/healthz"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"
"sigs.k8s.io/controller-runtime/pkg/webhook"
//+kubebuilder:scaffold:imports
)

Expand Down Expand Up @@ -85,11 +84,6 @@ func main() {
Metrics: metricsserver.Options{
BindAddress: *metricsAddr,
},
WebhookServer: webhook.NewServer(
webhook.Options{
Port: 944,
},
),
HealthProbeBindAddress: *probeAddr,
})
if err != nil {
Expand Down

0 comments on commit e13b140

Please sign in to comment.