From 6e01dd77a1d2f7559fa4c286b8f9c0401fda593f Mon Sep 17 00:00:00 2001 From: Jake Low Date: Thu, 7 Nov 2024 22:41:14 -0800 Subject: [PATCH] Fix Postgres env var names in fetch changesets job --- helm/osmcha/templates/cron.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/helm/osmcha/templates/cron.yaml b/helm/osmcha/templates/cron.yaml index 4afc82f..d5bee66 100644 --- a/helm/osmcha/templates/cron.yaml +++ b/helm/osmcha/templates/cron.yaml @@ -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: