feat: remove redundant CORS rules from OpenWebUI and add WebSocket upgrade policy to agentgateway-proxy

This commit is contained in:
2026-05-05 15:38:15 +02:00
parent 80251fa306
commit 35559aac7a
2 changed files with 13 additions and 15 deletions
-15
View File
@@ -59,21 +59,6 @@ helm:
- "*"
maxAge: 3600
allowCredentials: true
additionalRules:
- backendRefs:
- filters:
- type: CORS
cors:
allowOrigins:
- "*"
allowMethods:
- "*"
allowHeaders:
- "*"
exposeHeaders:
- "*"
maxAge: 3600
allowCredentials: true
extraEnvVars:
@@ -0,0 +1,13 @@
apiVersion: gateway.kgateway.dev/v1alpha1
kind: HTTPListenerPolicy
metadata:
name: websocket-proxy
spec:
targetRefs:
- name: http
kind: Gateway
group: gateway.networking.k8s.io
upgradeConfig:
enabledUpgrades:
- websocket