Skip to content

Commit 370f3f4

Browse files
Merge pull request #15 from langchain-ai/infra/fix-playground-helm
Infra/fix playground helm
2 parents c3ca1c6 + 3246328 commit 370f3f4

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

charts/langsmith/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ maintainers:
55
66
description: Helm chart to deploy the langsmith application and all services it depends on.
77
type: application
8-
version: 0.1.2
8+
version: 0.1.3
99
appVersion: "0.1.0"

charts/langsmith/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# langsmith
22

3-
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
3+
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
44

55
Helm chart to deploy the langsmith application and all services it depends on.
66

charts/langsmith/templates/frontend/configmap.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,18 @@ data:
2828
root /usr/share/nginx/html;
2929
}
3030
31+
location ~ /api/playground/ {
32+
rewrite /api/playground/(.*) /$1 break;
33+
chunked_transfer_encoding off;
34+
proxy_set_header Connection '';
35+
proxy_http_version 1.1;
36+
proxy_buffering off;
37+
proxy_cache off;
38+
proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.playground.name }}:{{ .Values.playground.service.port }};
39+
}
40+
3141
location = /api/playground {
42+
rewrite /api/playground / break;
3243
chunked_transfer_encoding off;
3344
proxy_set_header Connection '';
3445
proxy_http_version 1.1;

0 commit comments

Comments
 (0)