Skip to content

Commit 644d7d4

Browse files
author
Anna Y
committed
move non-secret PG env vars out of the secret block
1 parent 3cdbed9 commit 644d7d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/deployment_backend.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ spec:
6969
value: {{ template "retool.postgresql.port" . }}
7070
- name: POSTGRES_DB
7171
value: {{ template "retool.postgresql.db" . }}
72+
- name: POSTGRES_USER
73+
value: {{ template "retool.postgresql.user" . }}
74+
- name: POSTGRES_SSL_ENABLED
75+
value: {{ template "retool.postgresql.ssl_enabled" . }}
7276
{{- if and (not .Values.externalSecrets.enabled) (not .Values.externalSecrets.externalSecretsOperator.enabled) }}
7377
- name: LICENSE_KEY
7478
valueFrom:
@@ -100,10 +104,6 @@ spec:
100104
name: {{ template "retool.fullname" . }}
101105
key: encryption-key
102106
{{- end }}
103-
- name: POSTGRES_USER
104-
value: {{ template "retool.postgresql.user" . }}
105-
- name: POSTGRES_SSL_ENABLED
106-
value: {{ template "retool.postgresql.ssl_enabled" . }}
107107
- name: POSTGRES_PASSWORD
108108
valueFrom:
109109
secretKeyRef:

0 commit comments

Comments
 (0)