Skip to content

Commit acff2d9

Browse files
committed
Update httproute to use listenerset
1 parent 4ebe6f2 commit acff2d9

1 file changed

Lines changed: 26 additions & 3 deletions

File tree

deployment/httproute.yaml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ metadata:
55
namespace: lost-university
66
spec:
77
parentRefs:
8-
- name: gateway-shared
9-
namespace: envoy-gateway-system
8+
- kind: ListenerSet
9+
name: lost-university-listeners
10+
namespace: lost-university
1011
hostnames:
1112
- lost.university
1213
rules:
@@ -23,4 +24,26 @@ spec:
2324
value: /api/
2425
backendRefs:
2526
- name: backend
26-
port: 80
27+
port: 80
28+
---
29+
kind: ListenerSet
30+
apiVersion: gateway.networking.k8s.io/v1
31+
metadata:
32+
name: lost-university-listeners
33+
namespace: lost-university
34+
annotations:
35+
cert-manager.io/cluster-issuer: letsencrypt-http01-prod
36+
acme.cert-manager.io/http01-parentreffallback: "true"
37+
spec:
38+
parentRef:
39+
name: gateway-shared
40+
namespace: envoy-gateway-system
41+
listeners:
42+
- name: https
43+
hostname: lost.university
44+
port: 443
45+
protocol: HTTPS
46+
tls:
47+
mode: Terminate
48+
certificateRefs:
49+
- name: lost-university-tls

0 commit comments

Comments
 (0)