Update demo/httproute.yaml

This commit is contained in:
2026-07-08 00:27:20 +02:00
parent c08a0d97f0
commit 1eebdbdd37
+20 -12
View File
@@ -1,16 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: demo
spec:
hostnames:
- demo.int.example.com
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: eg
namespace: envoy-gateway-system
sectionName: https
rules:
- host: demo.int.example.com
http:
paths:
- backend:
service:
name: demo
port:
number: 80
path: /
pathType: Prefix
- backendRefs:
- group: ""
kind: Service
name: demo
port: 80
weight: 1
matches:
- path:
type: PathPrefix
value: /