Files
public-k8s-manifest/demo/httproute.yaml
T

24 lines
441 B
YAML

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:
- backendRefs:
- group: ""
kind: Service
name: demo
port: 80
weight: 1
matches:
- path:
type: PathPrefix
value: /