koschei: split stg and prod credentials
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
dda41ab764
commit
cf18a198f5
3 changed files with 12 additions and 0 deletions
|
@ -6,7 +6,11 @@
|
|||
config = {
|
||||
"database_config": {
|
||||
"username": "koscheiadmin",
|
||||
{% if env == 'staging' %}
|
||||
"password": "{{ koscheiadmin_db_password }}",
|
||||
{% else %}
|
||||
"password": "{{ koscheiadmin_stg_db_password }}",
|
||||
{% endif %}
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,11 @@ config = {
|
|||
"database_config": {
|
||||
"host": "{{ koschei_pgsql_hostname }}",
|
||||
"username": "koscheiuser",
|
||||
{% if env == 'staging' %}
|
||||
"password": "{{ koscheiuser_stg_db_password }}",
|
||||
{% else %}
|
||||
"password": "{{ koscheiuser_db_password }}",
|
||||
{% endif %}
|
||||
"database": "koschei"
|
||||
},
|
||||
"koji_config": {
|
||||
|
|
|
@ -6,7 +6,11 @@ config = {
|
|||
"database_config": {
|
||||
"host": "{{ koschei_pgsql_hostname }}",
|
||||
"username": "koscheiuser",
|
||||
{% if env == 'staging' %}
|
||||
"password": "{{ koscheiuser_stg_db_password }}",
|
||||
{% else %}
|
||||
"password": "{{ koscheiuser_db_password }}",
|
||||
{% endif %}
|
||||
"database": "koschei"
|
||||
},
|
||||
"koji_config": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue