serve api on same origin at /api

This commit is contained in:
2025-10-29 01:52:48 +01:00
parent 3bdca88144
commit 0052dff119
8 changed files with 71 additions and 56 deletions
@@ -36,6 +36,8 @@ spec:
containerPort: {{ .Values.frontend.service.port }}
protocol: TCP
env:
- name: API_PROXY_PASS
value: {{ printf "http://%s-backend:%d" (include "papercrate.fullname" . ) (int (.Values.backend.service.port)) | quote }}
{{- range .Values.frontend.env.extra }}
- name: {{ .name }}
value: {{ .value | quote }}