-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require and document external db connection information coming from V…
…ault.
- Loading branch information
1 parent
c4cc530
commit a7420d1
Showing
3 changed files
with
20 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
--- | ||
meta: | ||
pg: | ||
scheme: (( grab params.pg.scheme || vault meta.vault "db:scheme" )) | ||
username: (( grab params.pg.username || vault meta.vault "db:username" )) | ||
password: (( grab params.pg.password || vault meta.vault "db:password" )) | ||
hostname: (( grab params.pg.hostname || vault meta.vault "db:hostname" )) | ||
port: (( grab params.pg.port || vault meta.vault "db:port" )) | ||
sslmode: (( grab params.pg.sslmode || vault meta.vault "db:sslmode" )) | ||
database: (( grab params.pg.database || vault meta.vault "db:database" )) | ||
scheme: (( vault meta.vault "/db:scheme" )) | ||
username: (( vault meta.vault "/db:username" )) | ||
password: (( vault meta.vault "/db:password" )) | ||
hostname: (( vault meta.vault "/db:hostname" )) | ||
port: (( vault meta.vault "/db:port" )) | ||
sslmode: (( vault meta.vault "/db:sslmode" )) | ||
database: (( vault meta.vault "/db:database" )) | ||
|
||
instance_groups: | ||
- name: scheduler | ||
jobs: | ||
- (( delete "postgres" )) | ||
|
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