add route

This commit is contained in:
Twilight 2024-10-02 21:33:34 +08:00
parent 48091be949
commit 941b5a04d5

View File

@ -66,3 +66,19 @@ spec:
targetPort: 80
protocol: TCP
name: http
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: ocr-http
namespace: ecosystem
spec:
hostnames:
- ocr-api-testing.leaflow.cn
parentRefs:
- name: http-gw
namespace: networking
rules:
- backendRefs:
- name: easyocr
port: 80