File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,11 @@ spec:
2929 containers :
3030 - name : postgresql
3131 image : {{ .Values.postgresql.image.repository }}:{{ .Values.postgresql.image.tag }}
32- {{- if or .Values.postgresql.config .Values.postgresql.existingSecret }}
33- envFrom :
34- {{- if .Values.postgresql.config }}
35- - configMapRef :
36- name : {{ include "third-places.fullname" . }}-postgresql
37- {{- end }}
3832 {{- if .Values.postgresql.existingSecret }}
33+ envFrom :
3934 - secretRef :
4035 name : {{ .Values.postgresql.existingSecret }}
4136 {{- end }}
42- {{- end }}
4337 ports :
4438 - containerPort : 5432
4539 name : postgresql
Original file line number Diff line number Diff line change 3535 - name : PGPORT
3636 value : " 5432"
3737 - name : PGDATABASE
38- value : thirdplaces
38+ valueFrom :
39+ secretKeyRef :
40+ name : {{ .Values.postgresql.existingSecret }}
41+ key : POSTGRES_DB
3942 - name : PGUSER
4043 valueFrom :
4144 secretKeyRef :
Original file line number Diff line number Diff line change @@ -56,15 +56,14 @@ affinity: {}
5656
5757postgresql :
5858 image :
59- repository : postgres
60- tag : 13
59+ repository : postgis/postgis
60+ tag : 13-3.1
6161 imagePullSecrets : {}
6262 replicas : 1
6363 volumes :
6464 data :
6565 size : 5Gi
6666 existingSecret : postgresql
67- config : {}
6867 podAnnotations : {}
6968 nodeSelector : {}
7069 affinity : {}
You can’t perform that action at this time.
0 commit comments