Skip to content

Commit

Permalink
test - replace port 443 for 8443
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed Sep 17, 2019
1 parent 9854e26 commit 539cbc9
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 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: 8443
name: webhook-server
protocol: TCP
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
namespace: system
spec:
ports:
- port: 443
targetPort: 443
- port: 8443
targetPort: 8443
selector:
control-plane: controller-manager
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
control-plane: controller-manager
controller-tools.k8s.io: "1.0"
ports:
- port: 443
- port: 8443
---
apiVersion: apps/v1
kind: StatefulSet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ metadata:
namespace: test-system
spec:
ports:
- port: 443
- port: 8443
targetPort: 9876
selector:
app: webhook-server
Expand Down
2 changes: 1 addition & 1 deletion pkg/scaffold/v1/manager/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
control-plane: controller-manager
controller-tools.k8s.io: "1.0"
ports:
- port: 443
- port: 8443
---
apiVersion: apps/v1
kind: StatefulSet
Expand Down
4 changes: 2 additions & 2 deletions pkg/scaffold/v2/webhook/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ metadata:
namespace: system
spec:
ports:
- port: 443
targetPort: 443
- port: 8443
targetPort: 8443
selector:
control-plane: controller-manager
`
2 changes: 1 addition & 1 deletion pkg/scaffold/v2/webhook_manager_patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
containers:
- name: manager
ports:
- containerPort: 443
- containerPort: 8443
name: webhook-server
protocol: TCP
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion testdata/gopath/src/project/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
control-plane: controller-manager
controller-tools.k8s.io: "1.0"
ports:
- port: 443
- port: 8443
---
apiVersion: apps/v1
kind: StatefulSet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
containers:
- name: manager
ports:
- containerPort: 443
- containerPort: 8443
name: webhook-server
protocol: TCP
volumeMounts:
Expand Down
4 changes: 2 additions & 2 deletions testdata/project-v2/config/webhook/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
namespace: system
spec:
ports:
- port: 443
targetPort: 443
- port: 8443
targetPort: 8443
selector:
control-plane: controller-manager

0 comments on commit 539cbc9

Please sign in to comment.