diff --git a/charts/langsmith/Chart.yaml b/charts/langsmith/Chart.yaml index af34013..daf43f3 100644 --- a/charts/langsmith/Chart.yaml +++ b/charts/langsmith/Chart.yaml @@ -5,5 +5,5 @@ maintainers: email: ankush@langchain.dev description: Helm chart to deploy the langsmith application and all services it depends on. type: application -version: 0.1.13 +version: 0.1.14 appVersion: "0.1.0" diff --git a/charts/langsmith/templates/_helpers.tpl b/charts/langsmith/templates/_helpers.tpl index 2e6765e..d413c10 100644 --- a/charts/langsmith/templates/_helpers.tpl +++ b/charts/langsmith/templates/_helpers.tpl @@ -113,6 +113,10 @@ Template containing common environment variables that are used by several servic secretKeyRef: name: {{ include "langsmith.postgresSecretsName" . }} key: connection_url +{{- if .Values.postgres.external.enabled }} +- name: POSTGRES_SCHEMA + value: {{ .Values.postgres.external.schema }} +{{- end }} - name: REDIS_DATABASE_URI valueFrom: secretKeyRef: diff --git a/charts/langsmith/templates/frontend/deployment.yaml b/charts/langsmith/templates/frontend/deployment.yaml index 1a7b8c9..7de6e35 100644 --- a/charts/langsmith/templates/frontend/deployment.yaml +++ b/charts/langsmith/templates/frontend/deployment.yaml @@ -59,6 +59,9 @@ spec: {{- with .Values.frontend.deployment.extraEnv }} {{- toYaml . | nindent 12 }} {{- end }} + envFrom: + - configMapRef: + name: {{ include "langsmith.fullname" . }}-config image: "{{ .Values.images.frontendImage.repository }}:{{ .Values.images.frontendImage.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.images.frontendImage.pullPolicy }} ports: diff --git a/charts/langsmith/values.yaml b/charts/langsmith/values.yaml index 34c93c9..6e3bf5a 100644 --- a/charts/langsmith/values.yaml +++ b/charts/langsmith/values.yaml @@ -233,6 +233,7 @@ postgres: user: "postgres" password: "postgres" database: "postgres" + schema: "public" # If connection string is specified, we will ignore all above values and use the connection string instead. # Do not include the driver name(something like "postgres://" in the connection string. connectionUrl: ""