Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 14 additions & 19 deletions echo-http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,27 +46,22 @@ spec:

---

kind: Ingress
apiVersion: networking.k8s.io/v1
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: echo-http
namespace: echo-http
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/ingress.class: nginx
spec:
tls:
- hosts:
- echo-http.sandbox.k8s.phl.io
secretName: echo-http-tls
parentRefs:
- name: main-gateway
namespace: envoy-gateway-system
hostnames:
- echo-http.sandbox.k8s.phl.io
rules:
- host: echo-http.sandbox.k8s.phl.io
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: echo-http
port:
number: 80
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: echo-http
port: 80