k8s/manifests/04-httproutes/httproute-weave.yaml

21 lines
361 B
YAML
Raw Normal View History

2023-11-16 19:42:02 +10:00
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
2023-11-16 19:52:51 +10:00
name: http-weave
2023-11-16 19:42:02 +10:00
namespace: weave
spec:
hostnames:
- weave.guaranteedstruggle.host
parentRefs:
- name: my-gateway
namespace: default
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: weave-scope-app
port: 80