Skip to content

Commit d1355da

Browse files
committed
sigh
1 parent 7247768 commit d1355da

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

charts/digger-backend/templates/backend-deployment.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ spec:
5656
@{{ include "digger-backend.fullname" . }}-postgres:5432
5757
/postgres?sslmode=disable
5858
{{- else }}
59-
value: >-
60-
{{- $pg := .Values.digger.postgres }}
61-
postgres://{{ $pg.user }}:$(POSTGRES_PASSWORD)
62-
@{{ $pg.host }}:{{ $pg.port }}/{{ $pg.database }}?sslmode=disable
59+
{{- $pg := .Values.digger.postgres }}
60+
value: "postgres://{{ $pg.user }}:$(POSTGRES_PASSWORD)@{{ $pg.host }}:{{ $pg.port }}/{{ $pg.database }}?sslmode=disable"
6361
{{- end }}
6462
- name: ALLOW_DIRTY
6563
value: "{{ .Values.digger.postgres.allow_dirty }}"

charts/digger-backend/values.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ digger:
103103
# configure this section if you want to deploy a postgres db
104104
# WARNING: use only for test purposes, no persistency has been configured
105105
postgres:
106-
enabled: true
106+
enabled: false
107107
image: postgres
108108
tag: "14"
109109
resources:
@@ -116,5 +116,4 @@ postgres:
116116
secret:
117117
useExistingSecret: true
118118
existingSecretName: "new-pg-creds"
119-
120119
password: "password"

0 commit comments

Comments
 (0)