Skip to content

Commit 68b41a6

Browse files
committed
Migrate to primary/secondary gateway setup for failover
1 parent 05a2ce9 commit 68b41a6

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

deploy/routes.yaml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ metadata:
66
namespace: public-endpoint
77
spec:
88
parentRefs:
9-
- name: main-gateway
10-
namespace: envoy-gateway-system
9+
- name: primary-gateway
10+
namespace: gateway
11+
sectionName: tls-httptoolk-it
12+
- name: secondary-gateway
13+
namespace: gateway
1114
sectionName: tls-httptoolk-it
1215
rules:
1316
- backendRefs:
@@ -22,8 +25,11 @@ metadata:
2225
namespace: public-endpoint
2326
spec:
2427
parentRefs:
25-
- name: main-gateway
26-
namespace: envoy-gateway-system
28+
- name: primary-gateway
29+
namespace: gateway
30+
sectionName: http
31+
- name: secondary-gateway
32+
namespace: gateway
2733
sectionName: http
2834
hostnames:
2935
- "*.e.httptoolk.it"
@@ -44,8 +50,11 @@ metadata:
4450
namespace: public-endpoint
4551
spec:
4652
parentRefs:
47-
- name: main-gateway
48-
namespace: envoy-gateway-system
53+
- name: primary-gateway
54+
namespace: gateway
55+
sectionName: tls-endpoint-admin-httptoolkit-tech
56+
- name: secondary-gateway
57+
namespace: gateway
4958
sectionName: tls-endpoint-admin-httptoolkit-tech
5059
rules:
5160
- backendRefs:

0 commit comments

Comments
 (0)