clusterforge/kgateway/HTTPRoute_gitea.yaml
2025-10-06 09:34:03 +00:00

28 lines
571 B
YAML

---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: gitea
namespace: cf-gitea
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: https
namespace: kgateway-system
rules:
- backendRefs:
- group: ""
kind: Service
name: gitea-http
port: 3000
weight: 1
matches:
- headers:
- name: Host
type: RegularExpression
value: gitea\..*
path:
type: PathPrefix
value: /