23 lines
646 B
YAML
23 lines
646 B
YAML
# On the SPOKE's internal Gateway. The hub rewrites Host to this name before forwarding
|
|
# (deploy/hub/remote-route.yaml), so it must match remote_hostname there.
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: demo-vivek-11
|
|
spec:
|
|
parentRefs:
|
|
- name: pe-gatewayapi-int
|
|
namespace: gatewayapi
|
|
# The hub forwards plaintext to port 80 across Private Link.
|
|
sectionName: http
|
|
hostnames:
|
|
- demo-vivek-11.int.apps.lab.crucible.kyndemo.live
|
|
rules:
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
backendRefs:
|
|
- name: demo-vivek-11
|
|
port: 80
|