From bef15f328dc4d6bba15898de6a3fab01e0a75c0a Mon Sep 17 00:00:00 2001 From: Dallas98 <40557804+Dallas98@users.noreply.github.com> Date: Tue, 9 Dec 2025 15:01:44 +0800 Subject: [PATCH] feat(config): add proxy configuration for evaluation API endpoint (#141) --- .../helm/datamate/charts/frontend/templates/configmap.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deployment/helm/datamate/charts/frontend/templates/configmap.yaml b/deployment/helm/datamate/charts/frontend/templates/configmap.yaml index fb86313..bb4dec9 100644 --- a/deployment/helm/datamate/charts/frontend/templates/configmap.yaml +++ b/deployment/helm/datamate/charts/frontend/templates/configmap.yaml @@ -98,6 +98,13 @@ data: proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } + location /api/evaluation/ { + proxy_pass http://datamate-backend-python:18000/api/evaluation/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + location /api/annotation/ { proxy_pass http://datamate-backend-python:18000/api/annotation/; proxy_set_header Host $host;