We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5add95b + 43a9825 commit 8358cceCopy full SHA for 8358cce
helm-chart/templates/deployment.yaml
@@ -29,6 +29,23 @@ spec:
29
- name: {{ .Chart.Name }}
30
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
31
imagePullPolicy: {{ .Values.image.pullPolicy }}
32
+ env:
33
+ - name: PGHOST
34
+ value: {{ include "third-places.fullname" . }}-postgresql
35
+ - name: PGPORT
36
+ value: "5432"
37
+ - name: PGDATABASE
38
+ value: thirdplaces
39
+ - name: PGUSER
40
+ valueFrom:
41
+ secretKeyRef:
42
+ name: {{ .Values.postgresql.existingSecret }}
43
+ key: POSTGRES_USER
44
+ - name: PGPASSWORD
45
46
47
48
+ key: POSTGRES_PASSWORD
49
ports:
50
- name: http
51
containerPort: {{ .Values.service.port }}
0 commit comments