22
22
template : service.yaml
23
23
- contains :
24
24
path : spec.template.spec.containers[0].args
25
- content : " --entrypoints .web.address=:8000/tcp"
25
+ content : " --entryPoints .web.address=:8000/tcp"
26
26
template : deployment.yaml
27
27
- it : should have port 8443 of pod published to 443 of service by default, and defined as entrypoint "websecure"
28
28
asserts :
43
43
template : service.yaml
44
44
- contains :
45
45
path : spec.template.spec.containers[0].args
46
- content : " --entrypoints .websecure.address=:8443/tcp"
46
+ content : " --entryPoints .websecure.address=:8443/tcp"
47
47
template : deployment.yaml
48
48
- it : should have port 9000 of pod exposed for probes but NOT published to the service by default
49
49
asserts :
63
63
template : service.yaml
64
64
- contains :
65
65
path : spec.template.spec.containers[0].args
66
- content : " --entrypoints .traefik.address=:9000/tcp"
66
+ content : " --entryPoints .traefik.address=:9000/tcp"
67
67
template : deployment.yaml
68
68
- it : should have a custom port when specified via values
69
69
set :
90
90
template : service.yaml
91
91
- contains :
92
92
path : spec.template.spec.containers[0].args
93
- content : " --entrypoints .ssh.address=:22/tcp"
93
+ content : " --entryPoints .ssh.address=:22/tcp"
94
94
template : deployment.yaml
95
95
- it : should have a hostPort when specified via values
96
96
set :
@@ -119,7 +119,7 @@ tests:
119
119
template : service.yaml
120
120
- contains :
121
121
path : spec.template.spec.containers[0].args
122
- content : " --entrypoints .ssh.address=:22/tcp"
122
+ content : " --entryPoints .ssh.address=:22/tcp"
123
123
template : deployment.yaml
124
124
- it : should have a UDP custom port when specified via values
125
125
set :
@@ -148,7 +148,7 @@ tests:
148
148
documentIndex : 0
149
149
- contains :
150
150
path : spec.template.spec.containers[0].args
151
- content : " --entrypoints .udp.address=:51/udp"
151
+ content : " --entryPoints .udp.address=:51/udp"
152
152
template : deployment.yaml
153
153
154
154
- it : should set entrypoint to default when configured
@@ -162,13 +162,13 @@ tests:
162
162
asserts :
163
163
- contains :
164
164
path : spec.template.spec.containers[0].args
165
- content : " --entrypoints .web.asDefault=true"
165
+ content : " --entryPoints .web.asDefault=true"
166
166
- notContains :
167
167
path : spec.template.spec.containers[0].args
168
- content : " --entrypoints .websecure.asDefault=false"
168
+ content : " --entryPoints .websecure.asDefault=false"
169
169
- notContains :
170
170
path : spec.template.spec.containers[0].args
171
- content : " --entrypoints .websecure.asDefault=true"
171
+ content : " --entryPoints .websecure.asDefault=true"
172
172
173
173
- it : should set entrypoint host when hostIP is configured
174
174
template : deployment.yaml
@@ -179,13 +179,13 @@ tests:
179
179
asserts :
180
180
- contains :
181
181
path : spec.template.spec.containers[0].args
182
- content : " --entrypoints .web.address=127.0.0.1:8000/tcp"
182
+ content : " --entryPoints .web.address=127.0.0.1:8000/tcp"
183
183
- contains :
184
184
path : spec.template.spec.containers[0].args
185
- content : " --entrypoints .websecure.address=:8443/tcp"
185
+ content : " --entryPoints .websecure.address=:8443/tcp"
186
186
- contains :
187
187
path : spec.template.spec.containers[0].args
188
- content : " --entrypoints .traefik.address=:9000/tcp"
188
+ content : " --entryPoints .traefik.address=:9000/tcp"
189
189
190
190
- it : should set probes host when hostIP is configured
191
191
template : deployment.yaml
@@ -196,7 +196,7 @@ tests:
196
196
asserts :
197
197
- contains :
198
198
path : spec.template.spec.containers[0].args
199
- content : " --entrypoints .traefik.address=localhost:9000/tcp"
199
+ content : " --entryPoints .traefik.address=localhost:9000/tcp"
200
200
- equal :
201
201
path : spec.template.spec.containers[0].livenessProbe.httpGet.host
202
202
value : localhost
@@ -230,7 +230,7 @@ tests:
230
230
template : service.yaml
231
231
- contains :
232
232
path : spec.template.spec.containers[0].args
233
- content : " --entrypoints .ssh.address=:2222/tcp"
233
+ content : " --entryPoints .ssh.address=:2222/tcp"
234
234
template : deployment.yaml
235
235
- it : should be possible to use same custom containerPort and keep default exposedPort
236
236
set :
@@ -258,7 +258,7 @@ tests:
258
258
template : service.yaml
259
259
- contains :
260
260
path : spec.template.spec.containers[0].args
261
- content : " --entrypoints .web.address=:666/tcp"
261
+ content : " --entryPoints .web.address=:666/tcp"
262
262
template : deployment.yaml
263
263
- it : should be possible to disable traefik & metrics port
264
264
set :
@@ -357,4 +357,3 @@ tests:
357
357
asserts :
358
358
- failedTemplate :
359
359
errorMessage : " ERROR: Cannot create ssh port on Service without .port or .exposedPort"
360
-
0 commit comments