Skip to content

Commit 18c87d4

Browse files
authored
Fix wb connection to postgres in helm charts (#103)
1 parent 82db42f commit 18c87d4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

helm_charts/whitebox/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ spec:
1919
image: sqdhub/whitebox:{{ .Values.image.tag }}
2020
ports:
2121
- containerPort: 8000
22+
env:
23+
- name: POSTGRES_DB_URI
24+
value: postgresql://{{ .Values.postgresql.auth.username }}:{{ .Values.postgresql.auth.password }}@{{ .Release.Name }}-postgresql/postgres

helm_charts/whitebox/values.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ image:
22
tag: main
33
name: whitebox
44
postgresql:
5+
enabled: true
6+
storageClass: standard
57
auth:
6-
user: whitebox
8+
username: whitebox
79
password: whitebox
8-
enabled: true
10+
primary:
11+
persistence:
12+
size: 100Mi

0 commit comments

Comments
 (0)