Koschei: fix mixed staging/prod db passwords
This commit is contained in:
parent
34a70319ca
commit
cbfa7d32e2
5 changed files with 16 additions and 18 deletions
|
@ -5,12 +5,8 @@
|
|||
|
||||
config = {
|
||||
"database_config": {
|
||||
"username": "koscheiadmin",
|
||||
{% if env == 'staging' %}
|
||||
"password": "{{ koscheiadmin_db_password }}",
|
||||
{% else %}
|
||||
"password": "{{ koscheiadmin_stg_db_password }}",
|
||||
{% endif %}
|
||||
"username": "{{ koschei_pgsql_admin_username }}",
|
||||
"password": "{{ koschei_pgsql_admin_password }}",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -6,12 +6,8 @@
|
|||
config = {
|
||||
"database_config": {
|
||||
"host": "{{ koschei_pgsql_hostname }}",
|
||||
"username": "koscheiuser",
|
||||
{% if env == 'staging' %}
|
||||
"password": "{{ koscheiuser_stg_db_password }}",
|
||||
{% else %}
|
||||
"password": "{{ koscheiuser_db_password }}",
|
||||
{% endif %}
|
||||
"username": "{{ koschei_pgsql_username }}",
|
||||
"password": "{{ koschei_pgsql_password }}",
|
||||
"database": "koschei"
|
||||
},
|
||||
"koji_config": {
|
||||
|
|
|
@ -5,12 +5,8 @@
|
|||
config = {
|
||||
"database_config": {
|
||||
"host": "{{ koschei_pgsql_hostname }}",
|
||||
"username": "koscheiuser",
|
||||
{% if env == 'staging' %}
|
||||
"password": "{{ koscheiuser_stg_db_password }}",
|
||||
{% else %}
|
||||
"password": "{{ koscheiuser_db_password }}",
|
||||
{% endif %}
|
||||
"username": "{{ koschei_pgsql_username }}",
|
||||
"password": "{{ koschei_pgsql_password }}",
|
||||
"database": "koschei"
|
||||
},
|
||||
"koji_config": {
|
||||
|
|
|
@ -11,6 +11,11 @@ koschei_koji_web: koji.fedoraproject.org
|
|||
koschei_oidc_provider: id.fedoraproject.org
|
||||
koschei_bugzilla: bugzilla.redhat.com
|
||||
|
||||
koschei_pgsql_username: koscheiuser
|
||||
koschei_pgsql_password: "{{ koscheiuser_db_password }}"
|
||||
koschei_pgsql_admin_username: koscheiadmin
|
||||
koschei_pgsql_admin_password: "{{ koscheiadmin_db_password }}"
|
||||
|
||||
koschei_oidc_client_secret: "{{ koschei_oidc_client_secret_prod }}"
|
||||
koschei_oidc_crypto_secret: "{{ koschei_oidc_crypto_secret_prod }}"
|
||||
|
||||
|
|
|
@ -11,6 +11,11 @@ koschei_koji_web: koji.stg.fedoraproject.org
|
|||
koschei_oidc_provider: id.stg.fedoraproject.org
|
||||
koschei_bugzilla: bugzilla5.redhat.com
|
||||
|
||||
koschei_pgsql_username: koscheiuser
|
||||
koschei_pgsql_password: "{{ koscheiuser_stg_db_password }}"
|
||||
koschei_pgsql_admin_username: koscheiadmin
|
||||
koschei_pgsql_admin_password: "{{ koscheiadmin_stg_db_password }}"
|
||||
|
||||
koschei_oidc_client_secret: "{{ koschei_oidc_client_secret_stg }}"
|
||||
koschei_oidc_crypto_secret: "{{ koschei_oidc_crypto_secret_stg }}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue