Skip to content

Commit

Permalink
fix: psql access command
Browse files Browse the repository at this point in the history
  • Loading branch information
amber committed Oct 24, 2024
1 parent 1ab8598 commit 3709880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/nshm/templates/account/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ spec:
args:
- |
export PGPASSWORD=$POSTGRES_PASSWORD && \
psql $POSTGRES_URL -U $POSTGRES_USERNAME -f /scripts/services/account/database/1-schema.sql && \
psql $POSTGRES_URL -U $POSTGRES_USERNAME -f /scripts/services/account/database/2-seed.sql
psql -h $DB_ENDPOINT -U $POSTGRES_USERNAME -d $DB_NAME -f /scripts/services/account/database/1-schema.sql && \
psql -h $DB_ENDPOINT -U $POSTGRES_USERNAME -d $DB_NAME -f /scripts/services/account/database/2-seed.sql
volumeMounts:
- name: init-script
mountPath: /scripts
Expand Down

0 comments on commit 3709880

Please sign in to comment.