-
Notifications
You must be signed in to change notification settings - Fork 615
Expand file tree
/
Copy pathexpression-routes-on_golden.yaml
More file actions
157 lines (157 loc) · 4.05 KB
/
expression-routes-on_golden.yaml
File metadata and controls
157 lines (157 loc) · 4.05 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
_format_version: "3.0"
plugins:
- id: a340e1ec-76fc-53fe-bd7a-e446543585b8
name: basic-auth
service: default.svc-facade-beta.svc.facade
tags:
- k8s-name:auth-beta
- k8s-namespace:default
- k8s-kind:KongPlugin
- k8s-group:configuration.konghq.com
- k8s-version:v1
- id: 10d9d56e-2bbf-5f7b-b63e-46b0e7b9d6f1
name: basic-auth
service: default.svc-facade-alpha.svc.facade
tags:
- k8s-name:auth-alpha
- k8s-namespace:default
- k8s-kind:KongPlugin
- k8s-group:configuration.konghq.com
- k8s-version:v1
services:
- connect_timeout: 60000
host: default.svc-facade-default.svc.facade
id: 3f003a09-c285-52aa-a944-c6e156c71e36
name: default.svc-facade-default.svc.facade
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: 95255daa-88f8-504b-9098-9300d404c741
name: default.beta
preserve_host: true
priority: 0
protocols:
- http
- https
request_buffering: true
response_buffering: true
strip_path: false
tags:
- k8s-name:beta
- k8s-namespace:default
- k8s-kind:Ingress
- k8s-group:networking.k8s.io
- k8s-version:v1
tags:
- k8s-name:svc-facade-default
- k8s-namespace:default
- k8s-kind:KongServiceFacade
- k8s-group:incubator.ingress-controller.konghq.com
- k8s-version:v1alpha1
write_timeout: 60000
- connect_timeout: 60000
host: default.svc-facade-beta.svc.facade
id: 0487ced6-2552-5ccb-905d-db086a449a6c
name: default.svc-facade-beta.svc.facade
path: /
port: 80
protocol: http
read_timeout: 60000
retries: 5
routes:
- expression: http.path == "/beta"
https_redirect_status_code: 426
id: fc5d0d89-6201-5ef9-8785-e58fe257141a
name: default.beta..svc-facade-beta.svc.facade
preserve_host: true
priority: 54975581454341
protocols:
- http
- https
request_buffering: true
response_buffering: true
strip_path: false
tags:
- k8s-name:beta
- k8s-namespace:default
- k8s-kind:Ingress
- k8s-group:networking.k8s.io
- k8s-version:v1
tags:
- k8s-name:svc-facade-beta
- k8s-namespace:default
- k8s-kind:KongServiceFacade
- k8s-group:incubator.ingress-controller.konghq.com
- k8s-version:v1alpha1
write_timeout: 60000
- connect_timeout: 60000
host: default.svc-facade-alpha.svc.facade
id: 08c15f88-4777-5a1c-8d1c-28c8f5b252a3
name: default.svc-facade-alpha.svc.facade
path: /
port: 80
protocol: http
read_timeout: 60000
retries: 5
routes:
- expression: http.path == "/alpha"
https_redirect_status_code: 426
id: 801503ef-c5b4-572a-854d-c2082ce92711
name: default.alpha..svc-facade-alpha.svc.facade
preserve_host: true
priority: 54975581454342
protocols:
- http
- https
request_buffering: true
response_buffering: true
strip_path: false
tags:
- k8s-name:alpha
- k8s-namespace:default
- k8s-kind:Ingress
- k8s-group:networking.k8s.io
- k8s-version:v1
tags:
- k8s-name:svc-facade-alpha
- k8s-namespace:default
- k8s-kind:KongServiceFacade
- k8s-group:incubator.ingress-controller.konghq.com
- k8s-version:v1alpha1
write_timeout: 60000
upstreams:
- algorithm: round-robin
name: default.svc-facade-default.svc.facade
tags:
- k8s-name:svc-facade-default
- k8s-namespace:default
- k8s-kind:KongServiceFacade
- k8s-group:incubator.ingress-controller.konghq.com
- k8s-version:v1alpha1
targets:
- target: 10.244.0.5:80
- algorithm: round-robin
name: default.svc-facade-beta.svc.facade
tags:
- k8s-name:svc-facade-beta
- k8s-namespace:default
- k8s-kind:KongServiceFacade
- k8s-group:incubator.ingress-controller.konghq.com
- k8s-version:v1alpha1
targets:
- target: 10.244.0.5:80
- algorithm: round-robin
name: default.svc-facade-alpha.svc.facade
tags:
- k8s-name:svc-facade-alpha
- k8s-namespace:default
- k8s-kind:KongServiceFacade
- k8s-group:incubator.ingress-controller.konghq.com
- k8s-version:v1alpha1
targets:
- target: 10.244.0.5:80