Skip to content

Commit

Permalink
Merge pull request #32 from langchain-ai/infra/add-schema-helm
Browse files Browse the repository at this point in the history
Expose schema in helm chart
  • Loading branch information
langchain-infra authored Dec 18, 2023
2 parents 0e80264 + 24e7559 commit 80a4c2b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/langsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ maintainers:
email: [email protected]
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"
4 changes: 4 additions & 0 deletions charts/langsmith/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions charts/langsmith/templates/frontend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions charts/langsmith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down

0 comments on commit 80a4c2b

Please sign in to comment.