-
Notifications
You must be signed in to change notification settings - Fork 615
Expand file tree
/
Copy pathexpression-routes-on_golden.yaml
More file actions
85 lines (85 loc) · 2.08 KB
/
expression-routes-on_golden.yaml
File metadata and controls
85 lines (85 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
_format_version: "3.0"
services:
- connect_timeout: 60000
host: foo-svc.foo-namespace.80.svc
id: fe1e2edc-5479-52fe-b0f4-b90d8d5f83ba
name: foo-namespace.foo-svc.80
path: /
port: 80
protocol: http
read_timeout: 60000
retries: 5
routes:
- expression: (http.host == "example.com") && (http.path == "/")
https_redirect_status_code: 426
id: 3eee2c18-8fcc-5661-8f84-5c89adfa404f
name: foo-namespace.foo.foo-svc.example.com.80
preserve_host: true
priority: 57178899677185
protocols:
- http
- https
request_buffering: true
response_buffering: true
strip_path: false
tags:
- k8s-name:foo
- k8s-namespace:foo-namespace
- k8s-kind:Ingress
- k8s-group:networking.k8s.io
- k8s-version:v1
tags:
- k8s-name:foo-svc
- k8s-namespace:foo-namespace
- k8s-kind:Service
- k8s-version:v1
write_timeout: 60000
- connect_timeout: 60000
host: default-svc.bar-namespace.80.svc
id: 65ebeec1-01a0-5211-85c9-9f688a182c88
name: bar-namespace.default-svc.80
port: 80
protocol: http
read_timeout: 60000
retries: 5
routes:
- expression: (http.path ^= "/") && ((net.protocol == "http") || (net.protocol ==
"https"))
https_redirect_status_code: 426
id: 01c21dd4-41c1-57b6-a417-66c80b8ad22b
name: bar-namespace.ing-with-default-backend
preserve_host: true
priority: 0
protocols:
- http
- https
request_buffering: true
response_buffering: true
strip_path: false
tags:
- k8s-name:ing-with-default-backend
- k8s-namespace:bar-namespace
- k8s-kind:Ingress
- k8s-group:networking.k8s.io
- k8s-version:v1
tags:
- k8s-name:default-svc
- k8s-namespace:bar-namespace
- k8s-kind:Service
- k8s-version:v1
write_timeout: 60000
upstreams:
- algorithm: round-robin
name: foo-svc.foo-namespace.80.svc
tags:
- k8s-name:foo-svc
- k8s-namespace:foo-namespace
- k8s-kind:Service
- k8s-version:v1
- algorithm: round-robin
name: default-svc.bar-namespace.80.svc
tags:
- k8s-name:default-svc
- k8s-namespace:bar-namespace
- k8s-kind:Service
- k8s-version:v1