Skip to content

Commit 710cb4e

Browse files
committed
Don't use privileged ports
So that they don't require running as root.
1 parent a755738 commit 710cb4e

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

conformance/mesh/manifests.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,10 @@ spec:
3030
imagePullPolicy: IfNotPresent
3131
args:
3232
- --tcp=9090
33-
- --port=80
3433
- --port=8080
3534
- --grpc=7070
36-
- --port=443
37-
- --tls=443
35+
- --port=8443
36+
- --tls=8443
3837
- --crt=/cert.crt
3938
- --key=/cert.key
4039
---
@@ -51,11 +50,13 @@ spec:
5150
- name: http
5251
port: 80
5352
appProtocol: http
53+
targetPort: 8080
5454
- name: http-alt
5555
port: 8080
5656
appProtocol: http
5757
- name: https
5858
port: 443
59+
targetPort: 8443
5960
- name: tcp
6061
port: 9090
6162
- name: grpc
@@ -86,11 +87,10 @@ spec:
8687
imagePullPolicy: IfNotPresent
8788
args:
8889
- --tcp=9090
89-
- --port=80
9090
- --port=8080
9191
- --grpc=7070
92-
- --port=443
93-
- --tls=443
92+
- --port=8443
93+
- --tls=8443
9494
- --crt=/cert.crt
9595
- --key=/cert.key
9696
---
@@ -107,11 +107,13 @@ spec:
107107
- name: http
108108
port: 80
109109
appProtocol: http
110+
targetPort: 8080
110111
- name: http-alt
111112
port: 8080
112113
appProtocol: http
113114
- name: https
114115
port: 443
116+
targetPort: 8443
115117
- name: tcp
116118
port: 9090
117119
- name: grpc
@@ -130,11 +132,13 @@ spec:
130132
- name: http
131133
port: 80
132134
appProtocol: http
135+
targetPort: 8080
133136
- name: http-alt
134137
port: 8080
135138
appProtocol: http
136139
- name: https
137140
port: 443
141+
targetPort: 8443
138142
- name: tcp
139143
port: 9090
140144
- name: grpc

conformance/tests/mesh-frontend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var MeshFrontend = suite.ConformanceTest{
5959
{
6060
TestCaseName: "Send to pod IP",
6161
Request: http.Request{
62-
Host: v2.Address,
62+
Host: v2.Address + ":8080",
6363
Method: "GET",
6464
},
6565
Response: http.Response{

0 commit comments

Comments
 (0)