Skip to content

Commit

Permalink
include env var move from commonEnv to config map
Browse files Browse the repository at this point in the history
  • Loading branch information
bvs-langchain committed Nov 18, 2024
1 parent 7db39c6 commit 33d8d6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 0 additions & 8 deletions charts/langsmith/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,6 @@ Template containing common environment variables that are used by several servic
- name: FF_PERSONAL_ORGS_DISABLED
value: {{ .Values.config.personalOrgsDisabled | quote }}
{{- end }}
- name: GO_ENDPOINT
value: http://{{- include "langsmith.fullname" . }}-{{.Values.platformBackend.name}}:{{ .Values.platformBackend.service.port }}
- name: GO_ACE_ENDPOINT
value: http://{{- include "langsmith.fullname" . }}-{{.Values.aceBackend.name}}:{{ .Values.aceBackend.service.port }}
- name: PLAYGROUND_ENDPOINT
value: http://{{- include "langsmith.fullname" . }}-{{.Values.playground.name}}:{{ .Values.playground.service.port }}
- name: SMITH_BACKEND_ENDPOINT
value: http://{{- include "langsmith.fullname" . }}-{{.Values.backend.name}}:{{ .Values.backend.service.port }}
{{- if .Values.config.ttl.enabled }}
- name: FF_TRACE_TIERS_ENABLED
value: {{ .Values.config.ttl.enabled | quote }}
Expand Down
3 changes: 3 additions & 0 deletions charts/langsmith/templates/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ data:
{{- end }}
LANGCHAIN_ENV: "local_kubernetes"
GO_ENDPOINT: "http://{{ include "langsmith.fullname" . }}-{{ .Values.platformBackend.name }}:{{ .Values.platformBackend.service.port }}"
GO_ACE_ENDPOINT: "http://{{ include "langsmith.fullname" . }}-{{.Values.aceBackend.name}}:{{ .Values.aceBackend.service.port }}"
PLAYGROUND_ENDPOINT: "http://{{ include "langsmith.fullname" . }}-{{.Values.playground.name}}:{{ .Values.playground.service.port }}"
SMITH_BACKEND_ENDPOINT: "http://{{ include "langsmith.fullname" . }}-{{.Values.backend.name}}:{{ .Values.backend.service.port }}"

0 comments on commit 33d8d6e

Please sign in to comment.