feat: replace CORS environment variables with additionalRules in fleet.yaml
This commit is contained in:
+17
-6
@@ -59,13 +59,24 @@ 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:
|
||||||
- name: WEBUI_URL
|
- name: WEBUI_URL
|
||||||
value: "http://openwebui.homelab-test.hnrx.net"
|
value: "http://openwebui.homelab-test.hnrx.net"
|
||||||
- name: CORS_ALLOW_ORIGIN
|
|
||||||
value: "*"
|
|
||||||
- name: WEBUI_SESSION_COOKIE_SECURE
|
|
||||||
value: "true"
|
|
||||||
- name: WEBUI_AUTH_COOKIE_SECURE
|
|
||||||
value: "true"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user