Skip to content

Commit

Permalink
Switch default webhook port from 9443 to 9445 (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
afritzler authored Aug 21, 2024
1 parent 7eeb75a commit 58c3779
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func main() {
flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
flag.BoolVar(&enforceFirstBoot, "enforce-first-boot", false,
"Enforce the first boot probing of a Server even if it is powered on in the Initial state.")
flag.IntVar(&webhookPort, "webhook-port", 9443, "The port to use for webhook server.")
flag.IntVar(&webhookPort, "webhook-port", 9445, "The port to use for webhook server.")
flag.BoolVar(&enableLeaderElection, "leader-elect", false,
"Enable leader election for controller manager. "+
"Enabling this will ensure there is only one active controller manager.")
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_webhook_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
containers:
- name: manager
ports:
- containerPort: 9443
- containerPort: 9445
name: webhook-server
protocol: TCP
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion config/webhook/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ spec:
ports:
- port: 443
protocol: TCP
targetPort: 9443
targetPort: 9445
selector:
control-plane: controller-manager

0 comments on commit 58c3779

Please sign in to comment.