Skip to content

Commit

Permalink
Merge pull request #3758 from vincepri/use-9443-port-capd
Browse files Browse the repository at this point in the history
🌱 CAPD webhooks should use 9443 as port
  • Loading branch information
k8s-ci-robot authored Oct 7, 2020
2 parents c285f2d + 56b5822 commit fb5b8e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
containers:
- name: manager
ports:
- containerPort: 443
- containerPort: 9443
name: webhook-server
protocol: TCP
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion test/infrastructure/docker/config/webhook/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ metadata:
spec:
ports:
- port: 443
targetPort: 443
targetPort: 9443
selector:
control-plane: controller-manager
4 changes: 3 additions & 1 deletion test/infrastructure/docker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ package main

import (
"flag"
"github.com/spf13/pflag"
"math/rand"
"os"
"time"

"github.com/spf13/pflag"

"k8s.io/apimachinery/pkg/runtime"
"k8s.io/client-go/kubernetes/scheme"
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
Expand Down Expand Up @@ -80,6 +81,7 @@ func main() {
LeaderElectionID: "controller-leader-election-capd",
SyncPeriod: &syncPeriod,
HealthProbeBindAddress: healthAddr,
Port: 9443,
})
if err != nil {
setupLog.Error(err, "unable to start manager")
Expand Down

0 comments on commit fb5b8e9

Please sign in to comment.