Skip to content

Commit

Permalink
fix(label-studio): add env variables for psql
Browse files Browse the repository at this point in the history
  • Loading branch information
avouacr committed Jun 28, 2024
1 parent 970a7e6 commit 06e5fb6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/label-studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.1.0

dependencies:
- name: postgresql
Expand Down
12 changes: 12 additions & 0 deletions charts/label-studio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@ spec:
value: "https://{{ .Values.s3.endpoint }}"
- name: S3-region
value: {{ .Values.s3.defaultRegion }}
- name: DJANGO_DB
value: default
- name: POSTGRE_NAME
value: postgres
- name: POSTGRE_USER
value: {{ .Values.postgresql.username }}
- name: POSTGRE_PASSWORD
value: {{ .Values.postgresql.password }}
- name: POSTGRE_PORT
value: 5432
- name: POSTGRE_HOST
value: {{ .Values.postgresql.fullnameOverride }}
ports:
- name: http
containerPort: 8080
Expand Down

0 comments on commit 06e5fb6

Please sign in to comment.