-
Notifications
You must be signed in to change notification settings - Fork 0
/
gateway.yaml
55 lines (51 loc) · 997 Bytes
/
gateway.yaml
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
apiVersion: fanplane.io/v1alpha1
kind: Gateway
metadata:
name: test-id
namespace: default
spec:
listener:
port: 8080
protocol: HTTP
routes:
- type: CONSUL_DNS
prefix: /iris/settings/
service:
name: ural2
tag: rc0
rewrite:
uri: /promotion/v1/
connectionPool:
timeout: 5s
retryPolicy:
numRetries: 2
perTryTimeout: 1s
loadBalancer:
type: ROUND_ROBIN
- type: CONSUL_DNS
prefix: /graphql
service:
name: data-services
tag: rc
retryPolicy:
numRetries: 2
perTryTimeout: 1s
tlsContext:
sni: rc-data-services.dev.frgcloud.com
- type: CONSUL_DNS
prefix: /graphql2
service:
name: data-services
retryPolicy:
numRetries: 2
perTryTimeout: 1s
- type: DNS
prefix: /flex/v1/keys
dns:
address: api.cybersource.com
port: 443
connectionPool:
timeout: 6s
retryPolicy:
numRetries: 2
perTryTimeout: 500ms