-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be0033d
commit 6b5132a
Showing
4 changed files
with
4 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh | ||
export PG_PASS=$(kubectl get secret sourced.example-sourced-db-postgresql.credentials.postgresql.acid.zalan.do -o jsonpath={.data.password} | base64 -D) | ||
export SOURCED_POSTGRESQL_URL="postgresql://sourced:${PG_PASS}@example-sourced-db-postgresql.default.svc.cluster.local:5432/sourced" | ||
export PG_PASS=$(kubectl -n example-local-env get secret sourced.example-sourced-db-postgresql.credentials.postgresql.acid.zalan.do -o jsonpath={.data.password} | base64 -D) | ||
export SOURCED_POSTGRESQL_URL="postgresql://sourced:${PG_PASS}@example-sourced-db-postgresql.example-local-env.svc.cluster.local:5432/sourced" | ||
|
||
cat .env > .local.env | ||
echo "\nSOURCED_POSTGRESQL_URL=${SOURCED_POSTGRESQL_URL}" >> .local.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters