fix: default TRUSTED_PROXIES in shipped deployments and route /public/ through ingress

This commit is contained in:
2026-08-24 14:35:29 +00:00
parent a3c6b2a305
commit 6ba54f690c
4 changed files with 6 additions and 1 deletions
@@ -72,6 +72,8 @@ both read it.
value: {{ .Values.server.env.proxyAdvertiseHost | quote }}
- name: PROXY_LISTEN_HOST
value: {{ .Values.server.env.proxyListenHost | quote }}
- name: TRUSTED_PROXIES
value: {{ .Values.server.env.trustedProxies | quote }}
{{- if eq .Values.server.env.deploymentType "cloud" }}
- name: VANTAGE_DEPLOYMENT
value: "cloud"
+2
View File
@@ -63,6 +63,7 @@ server:
appRootLabel: vantage
proxyAdvertiseHost: "{{ .Release.Name }}-server"
proxyListenHost: "0.0.0.0"
trustedProxies: "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
persistence:
enabled: false
size: 1Gi
@@ -94,6 +95,7 @@ ingress:
paths:
- /api/
- /auth/
- /public/
- /update
- /install
- /update.ps1
+1
View File
@@ -47,6 +47,7 @@ services:
KEY_ENCRYPTION_KEY: ${KEY_ENCRYPTION_KEY:-}
GUACD_ADDR: guacd:4822
PROXY_ADVERTISE_HOST: server
TRUSTED_PROXIES: ${TRUSTED_PROXIES:-10.0.0.0/8,172.16.0.0/12,192.168.0.0/16}
depends_on:
redis:
condition: service_healthy