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

21 lines
356 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-harbor
namespace: default
spec:
hostnames:
- harbor.guaranteedstruggle.host
parentRefs:
- name: my-gateway
namespace: default
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: harbor
port: 80