k8s/manifests/04-routes/httproute-longhorn.yaml

21 lines
374 B
YAML
Raw Normal View History

2023-11-16 19:42:02 +10:00
---
2024-07-21 23:21:48 +10:00
apiVersion: gateway.networking.k8s.io/v1
2023-11-16 19:42:02 +10:00
kind: HTTPRoute
metadata:
name: http-longhorn
namespace: longhorn-system
spec:
hostnames:
- longhorn.guaranteedstruggle.host
parentRefs:
- name: my-gateway
namespace: default
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: longhorn-frontend
port: 80