Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 199f59c

Browse files
committed
TEST/MINOR: test: adjust testing admin port
1 parent 279d16d commit 199f59c

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

‎.gitlab/kind-config.yaml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ nodes:
2929
containerPort: 32766
3030
- hostPort: 32767
3131
containerPort: 32767
32+
- hostPort: 32060 # admin port
33+
containerPort: 32060
3234
kubeadmConfigPatches:
3335
- |
3436
kind: ClusterConfiguration
3537
controllerManager:
3638
extraArgs:
37-
max-endpoints-per-slice: "5"
39+
max-endpoints-per-slice: "5"

‎deploy/tests/config/3.ingress-controller.yaml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ spec:
5959
containerPort: 32767
6060
- name: gwapi
6161
containerPort: 8000
62+
- name: admin
63+
containerPort: 32060
6264
env:
6365
- name: POD_NAME
6466
valueFrom:
@@ -109,3 +111,7 @@ spec:
109111
port: 32765
110112
targetPort: 8000
111113
nodePort: 32765
114+
- name: admin
115+
port: 32060
116+
targetPort: 6060
117+
nodePort: 32060

‎deploy/tests/e2e/admin-port/suite_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (suite *AdminPortSuite) SetupSuite() {
4040
suite.test, err = e2e.NewTest()
4141
suite.Require().NoError(err)
4242
suite.tmplData = tmplData{Host: suite.test.GetNS() + ".test"}
43-
suite.client, err = e2e.NewHTTPClient(suite.tmplData.Host)
43+
suite.client, err = e2e.NewHTTPClient(suite.tmplData.Host, 32060)
4444
suite.Require().NoError(err)
4545
}
4646

‎deploy/tests/kind-config.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ nodes:
2222
containerPort: 32767
2323
- hostPort: 32765 # gwapi
2424
containerPort: 32765
25+
- hostPort: 32060 # admin port
26+
containerPort: 32060
2527
kubeadmConfigPatches:
2628
- |
2729
kind: ClusterConfiguration

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /