Skip to content

Commit

Permalink
Merge pull request #51 from CodeForPhilly/develop
Browse files Browse the repository at this point in the history
Release: v0.1.4
  • Loading branch information
themightychris authored May 10, 2023
2 parents 5add95b + 43a9825 commit 8358cce
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions helm-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,23 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: PGHOST
value: {{ include "third-places.fullname" . }}-postgresql
- name: PGPORT
value: "5432"
- name: PGDATABASE
value: thirdplaces
- name: PGUSER
valueFrom:
secretKeyRef:
name: {{ .Values.postgresql.existingSecret }}
key: POSTGRES_USER
- name: PGPASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.postgresql.existingSecret }}
key: POSTGRES_PASSWORD
ports:
- name: http
containerPort: {{ .Values.service.port }}
Expand Down

0 comments on commit 8358cce

Please sign in to comment.