-
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.
Refactored features based on pairing session.
- Loading branch information
1 parent
a7420d1
commit ffcbc27
Showing
8 changed files
with
130 additions
and
75 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
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,21 +1,44 @@ | ||
name: ocf-scheduler | ||
version: 0.0.1 | ||
version: 0.0.16 | ||
author: Wayne E. Seguin <wayneeseguin@starkandwayne.com> | ||
docs: https://github.com/cloudfoundry-community/scheduler-boshrelease | ||
code: https://github.com/genesis-community/scheduler-genesis-kit | ||
|
||
genesis_version_min: 2.8.4 | ||
genesis_version_min: 2.8.5 | ||
|
||
credentials: | ||
+internal-postgres: | ||
role: | ||
password: random 32 fixed | ||
|
||
provided: | ||
+external-postgres: | ||
role: | ||
external-postgres: | ||
db: | ||
keys: | ||
password: | ||
prompt: "Password for the external Postgresql Database" | ||
username: | ||
|
||
external-postgres-vault: # feature | ||
db: # vault suffix path | ||
keys: # vault keys hash | ||
username: # vault key name & value | ||
prompt: "Username for the external Postgresql Database" | ||
default: "postgres" | ||
password: | ||
prompt: "Password for the external Postgresql Database" | ||
scheme: | ||
prompt: "Scheme for the external Postgresql Database" | ||
default: "postgres" | ||
hostname: | ||
prompt: "hostname (or IP) for the external Postgresql Database" | ||
default: "127.0.0.1" | ||
port: | ||
prompt: "Port for the external Postgresql Database" | ||
default: "5432" | ||
sslmode: | ||
prompt: "SSL Mode for the external Postgresql Database (disable/enable)" | ||
default: "disable" | ||
database: | ||
prompt: "Database for the external Postgresql Database" | ||
default: "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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
params: | ||
pg_scheme: (( vault meta.vault "/db:scheme" )) | ||
pg_username: (( vault meta.vault "/db:username" )) | ||
pg_password: (( vault meta.vault "/db:password" )) | ||
pg_hostname: (( vault meta.vault "/db:hostname" )) | ||
pg_port: (( vault meta.vault "/db:port" )) | ||
pg_sslmode: (( vault meta.vault "/db:sslmode" )) | ||
pg_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
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