feat: remove redundant CORS rules from OpenWebUI and add WebSocket upgrade policy to agentgateway-proxy
This commit is contained in:
@@ -59,21 +59,6 @@ helm:
|
|||||||
- "*"
|
- "*"
|
||||||
maxAge: 3600
|
maxAge: 3600
|
||||||
allowCredentials: true
|
allowCredentials: true
|
||||||
additionalRules:
|
|
||||||
- backendRefs:
|
|
||||||
- filters:
|
|
||||||
- type: CORS
|
|
||||||
cors:
|
|
||||||
allowOrigins:
|
|
||||||
- "*"
|
|
||||||
allowMethods:
|
|
||||||
- "*"
|
|
||||||
allowHeaders:
|
|
||||||
- "*"
|
|
||||||
exposeHeaders:
|
|
||||||
- "*"
|
|
||||||
maxAge: 3600
|
|
||||||
allowCredentials: true
|
|
||||||
|
|
||||||
|
|
||||||
extraEnvVars:
|
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
|
||||||
|
|
||||||
Reference in New Issue
Block a user