#1736Implement cloudflare e2e test case (#2998)

This commit is contained in:
Patrisam
2025-10-20 19:47:36 +08:00
committed by GitHub
parent a7cd4c0ad6
commit 817cd322ff
2 changed files with 89 additions and 0 deletions

View File

@@ -260,6 +260,25 @@ spec:
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: wasmplugin-ai-proxy-cloudflare
namespace: higress-conformance-ai-backend
spec:
ingressClassName: higress
rules:
- host: "api.cloudflare.com"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: llm-mock-service
port:
number: 3000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: wasmplugin-ai-proxy-together-ai
namespace: higress-conformance-ai-backend
@@ -520,6 +539,16 @@ spec:
type: stepfun
ingress:
- higress-conformance-ai-backend/wasmplugin-ai-proxy-stepfun
- config:
provider:
apiTokens:
- fake_token
modelMapping:
"gpt-3": meta/llama-3.1-8b-instruct
"*": meta/llama-3.1-70b-instruct
type: cloudflare
ingress:
- higress-conformance-ai-backend/wasmplugin-ai-proxy-cloudflare
- config:
provider:
apiTokens: