Skip to content

Commit

Permalink
Merge pull request #1258 from younginnovations/db-creds-fixes
Browse files Browse the repository at this point in the history
change db creds for aidstream db
  • Loading branch information
pravin-yipl authored Jun 30, 2023
2 parents a91ea5e + 7beeced commit 12047fc
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 52 deletions.
6 changes: 3 additions & 3 deletions packages/development/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ data:
DB_SSLMODE: 'require'
DB_SSLROOTCERT: '/opt/apps/laravel-in-kubernetes/ca-certificate.crt'

AIDSTREAM_DB_HOST: "35.224.230.223"
AIDSTREAM_DB_PORT: "5432"
AIDSTREAM_DB_DATABASE: "aidstreamstage"
AIDSTREAM_DB_HOST: "private-aidstream-postgresql-do-user-4025190-0.b.db.ondigitalocean.com"
AIDSTREAM_DB_PORT: "25060"
AIDSTREAM_DB_DATABASE: "aidstream_stage"

BROADCAST_DRIVER: "log"
CACHE_DRIVER: "redis"
Expand Down
33 changes: 17 additions & 16 deletions packages/development/sealed-secret.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/production/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ data:
DB_SSLMODE: 'require'
DB_SSLROOTCERT: './ca-certificate.crt'

AIDSTREAM_DB_HOST: "35.224.230.223"
AIDSTREAM_DB_PORT: "5432"
AIDSTREAM_DB_HOST: "private-aidstream-postgresql-do-user-4025190-0.b.db.ondigitalocean.com"
AIDSTREAM_DB_PORT: "25060"
AIDSTREAM_DB_DATABASE: "aidstream_prod"

BROADCAST_DRIVER: "log"
Expand Down
5 changes: 5 additions & 0 deletions packages/production/seal-secret.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

kubeseal --cert https://iatipublisher.yipl.com.np/v1/cert.pem \
--format yaml \
< secret.yaml > sealed-secret.yaml
26 changes: 13 additions & 13 deletions packages/production/sealed-secret.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/staging/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ data:
DB_SSLMODE: 'require'
DB_SSLROOTCERT: './ca-certificate.crt'

AIDSTREAM_DB_HOST: "35.224.230.223"
AIDSTREAM_DB_PORT: "5432"
AIDSTREAM_DB_DATABASE: "aidstreamstage"
AIDSTREAM_DB_HOST: "private-aidstream-postgresql-do-user-4025190-0.b.db.ondigitalocean.com"
AIDSTREAM_DB_PORT: "25060"
AIDSTREAM_DB_DATABASE: "aidstream_stage"

BROADCAST_DRIVER: "log"
CACHE_DRIVER: "redis"
Expand Down
30 changes: 15 additions & 15 deletions packages/staging/sealed-secret.yaml

Large diffs are not rendered by default.

0 comments on commit 12047fc

Please sign in to comment.