From e0e715c1434c0e85acd7e42388cd8d882ce99dbc Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Thu, 7 Jun 2018 22:28:50 +0000 Subject: [PATCH] alembic needs owner, so use the anitya_admin user, since we don't do it the other way anywhere else anyway Signed-off-by: Rick Elrod --- roles/openshift-apps/release-monitoring/templates/configmap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift-apps/release-monitoring/templates/configmap.yml b/roles/openshift-apps/release-monitoring/templates/configmap.yml index 66db62733a..2d02e0a655 100644 --- a/roles/openshift-apps/release-monitoring/templates/configmap.yml +++ b/roles/openshift-apps/release-monitoring/templates/configmap.yml @@ -20,7 +20,7 @@ data: permanent_session_lifetime = 3600 {% if env == 'staging' %} - db_url = "postgresql://{{ anitya_stg_db_user }}:{{ anitya_stg_db_pass }}@{{ anitya_stg_db_host }}/{{ anitya_stg_db_name }}" + db_url = "postgresql://{{ anitya_stg_db_admin_user }}:{{ anitya_stg_db_admin_pass }}@{{ anitya_stg_db_host }}/{{ anitya_stg_db_name }}" {% else %} db_url = "postgresql://{{ anitya_db_user }}:{{ anitya_db_pass }}@{{ anitya_db_host }}/{{ anitya_db_name }}" {% endif %}