@@ -45,7 +45,7 @@ static_resources:
45
45
patterns:
46
46
- exact: "x-repository"
47
47
- exact: "{{ getenv "GITHUB_OIDC_TOKEN_HEADER_NAME" }}"
48
- - exact: ":authority "
48
+ - exact: "host "
49
49
failure_mode_allow: false
50
50
- name: envoy.filters.http.router
51
51
typed_config:
@@ -129,7 +129,9 @@ static_resources:
129
129
route_config:
130
130
virtual_hosts:
131
131
- name: dynamic_forward_host
132
- domains: ["*.{{ getenv "MAIN_DNS_ZONE" }}", "*.{{ getenv "MAIN_DNS_ZONE" }}:{{ getenv "DYNAMIC_PROXY_PORT" }}"]
132
+ domains:
133
+ - "*.{{ getenv "MAIN_DNS_ZONE" }}"
134
+ - "*.{{ getenv "MAIN_DNS_ZONE" }}:{{ getenv "DYNAMIC_PROXY_PORT" }}"
133
135
routes:
134
136
- match:
135
137
prefix: /
@@ -146,7 +148,11 @@ static_resources:
146
148
envoy.filters.http.dynamic_forward_proxy:
147
149
'@type': type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.PerRouteConfig
148
150
- name: localhost_host
149
- domains: ["localhost", "127.0.0.1", "localhost:{{ getenv "DYNAMIC_PROXY_PORT" }}", "127.0.0.1:{{ getenv "DYNAMIC_PROXY_PORT" }}"]
151
+ domains:
152
+ - "localhost"
153
+ - "127.0.0.1"
154
+ - "localhost:{{ getenv "DYNAMIC_PROXY_PORT" }}"
155
+ - "127.0.0.1:{{ getenv "DYNAMIC_PROXY_PORT" }}"
150
156
routes:
151
157
- match:
152
158
prefix: '/'
@@ -169,7 +175,6 @@ static_resources:
169
175
patterns:
170
176
- exact: "x-repository"
171
177
- exact: "{{ getenv "GITHUB_OIDC_TOKEN_HEADER_NAME" }}"
172
- - exact: ":authority"
173
178
- exact: "host"
174
179
failure_mode_allow: false
175
180
- name: envoy.filters.http.dynamic_forward_proxy
@@ -244,7 +249,7 @@ static_resources:
244
249
patterns:
245
250
- exact: "x-repository"
246
251
- exact: "{{ getenv "GITHUB_OIDC_TOKEN_HEADER_NAME" }}"
247
- - exact: ":authority "
252
+ - exact: "host "
248
253
failure_mode_allow: false
249
254
- name: envoy.filters.http.router
250
255
typed_config:
@@ -253,7 +258,9 @@ static_resources:
253
258
name: local_route
254
259
virtual_hosts:
255
260
- name: gap_ws_echo
256
- domains: ["gap-ws-echo.{{ getenv "MAIN_DNS_ZONE" }}", "gap-ws-echo.{{ getenv "MAIN_DNS_ZONE" }}:{{ getenv "WEBSOCKETS_PROXY_PORT" }}"]
261
+ domains:
262
+ - "gap-ws-echo.{{ getenv "MAIN_DNS_ZONE" }}"
263
+ - "gap-ws-echo.{{ getenv "MAIN_DNS_ZONE" }}:{{ getenv "WEBSOCKETS_PROXY_PORT" }}"
257
264
routes:
258
265
- match:
259
266
prefix: "/"
@@ -267,7 +274,11 @@ static_resources:
267
274
base_interval: "1s"
268
275
max_interval: "5s"
269
276
- name: localhost_host
270
- domains: [ "localhost", "127.0.0.1", "localhost:{{ getenv "WEBSOCKETS_PROXY_PORT" }}", "127.0.0.1:{{ getenv "WEBSOCKETS_PROXY_PORT" }}"]
277
+ domains:
278
+ - "localhost"
279
+ - "127.0.0.1"
280
+ - "localhost:{{ getenv "WEBSOCKETS_PROXY_PORT" }}"
281
+ - "127.0.0.1:{{ getenv "WEBSOCKETS_PROXY_PORT" }}"
271
282
routes:
272
283
- match:
273
284
prefix: '/'
@@ -279,7 +290,9 @@ static_resources:
279
290
{{- $services := getenv "WEBSOCKETS_SERVICES" | strings.Split "," }}
280
291
{{- range $services }}
281
292
- name: {{ replaceAll "-" "_" . }}
282
- domains: ["{{ . }}.{{ getenv "MAIN_DNS_ZONE" }}", "{{ . }}.{{ getenv "MAIN_DNS_ZONE" }}:{{ getenv "WEBSOCKETS_PROXY_PORT" }}"]
293
+ domains:
294
+ - "{{ . }}.{{ getenv "MAIN_DNS_ZONE" }}"
295
+ - "{{ . }}.{{ getenv "MAIN_DNS_ZONE" }}:{{ getenv "WEBSOCKETS_PROXY_PORT" }}"
283
296
routes:
284
297
- match:
285
298
prefix: "/"
0 commit comments