Skip to content

Commit baa0045

Browse files
committed
feat: migrate echo-http to envoy gateway
1 parent 50d5426 commit baa0045

1 file changed

Lines changed: 14 additions & 19 deletions

File tree

echo-http.yaml

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -46,27 +46,22 @@ spec:
4646

4747
---
4848

49-
kind: Ingress
50-
apiVersion: networking.k8s.io/v1
49+
apiVersion: gateway.networking.k8s.io/v1
50+
kind: HTTPRoute
5151
metadata:
5252
name: echo-http
5353
namespace: echo-http
54-
annotations:
55-
cert-manager.io/cluster-issuer: letsencrypt-prod
56-
kubernetes.io/ingress.class: nginx
5754
spec:
58-
tls:
59-
- hosts:
60-
- echo-http.sandbox.k8s.phl.io
61-
secretName: echo-http-tls
55+
parentRefs:
56+
- name: main-gateway
57+
namespace: envoy-gateway-system
58+
hostnames:
59+
- echo-http.sandbox.k8s.phl.io
6260
rules:
63-
- host: echo-http.sandbox.k8s.phl.io
64-
http:
65-
paths:
66-
- path: /
67-
pathType: Prefix
68-
backend:
69-
service:
70-
name: echo-http
71-
port:
72-
number: 80
61+
- matches:
62+
- path:
63+
type: PathPrefix
64+
value: /
65+
backendRefs:
66+
- name: echo-http
67+
port: 80

0 commit comments

Comments
 (0)