Skip to content

Commit

Permalink
Fix Postgres env var names in fetch changesets job (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-low authored Nov 8, 2024
1 parent 302064e commit a6d6051
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions helm/osmcha/templates/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,18 @@ spec:
- -c
- timeout 3600s python manage.py fetchchangesets
env:
- name: POSTGRES_HOST
value: {{ .Values.app.api.postgres_host}}
- name: PGHOST
value: {{ .Values.app.api.postgres_host}}
- name: POSTGRES_PORT
- name: PGPORT
value: "5432"
- name: POSTGRES_USER
- name: PGUSER
value: {{ .Values.app.api.postgres_user}}
- name: POSTGRES_PASSWORD
- name: PGPASSWORD
valueFrom:
secretKeyRef:
name: osmcha-db-credentials
key: password
- name: POSTGRES_DATABASE
- name: PGDATABASE
value: {{ .Values.app.api.postgres_database}}
- name: DJANGO_SECRET_KEY
valueFrom:
Expand Down

0 comments on commit a6d6051

Please sign in to comment.