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

21 lines
379 B
YAML
Raw Normal View History

2023-11-16 19:42:02 +10:00
---
apiVersion: gateway.networking.k8s.io/v1beta1
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