From e5678cb7841cc76a9929ec6436ac43d87142ef95 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Dec 04 2024 13:58:08 +0000 Subject: [release-monitoring] Config fixes TOML inline tables have to be on one line. We need to specify HTTP scheme otherwise the URL will be generated with http instead of https. Signed-off-by: Michal Konecny --- diff --git a/roles/openshift-apps/release-monitoring/templates/anitya.toml b/roles/openshift-apps/release-monitoring/templates/anitya.toml index 79f6e6f..600bb84 100644 --- a/roles/openshift-apps/release-monitoring/templates/anitya.toml +++ b/roles/openshift-apps/release-monitoring/templates/anitya.toml @@ -7,6 +7,9 @@ secret_key = '{{ stg_anitya_secrect_key }}' secret_key = '{{ anitya_secret_key }}' {% endif %} +# Preferred HTTP scheme +preferred_url_scheme = "https" + # The lifetime of the session, in seconds. permanent_session_lifetime = 604800 @@ -70,10 +73,7 @@ fedora_client_secret = "{{ anitya_stg_fedora_client_secret }}" # Fedora OAuth authentication endpoint fedora_server_metadata_url = "https://id.stg.fedoraproject.org/.well-known/openid-configuration" # Additional arguments for Fedora authentication -fedora_client_kwargs = { - scope = "openid profile email", - token_endpoint_auth_method = "client_secret_post" -} +fedora_client_kwargs = { scope = "openid profile email", token_endpoint_auth_method = "client_secret_post" } # Google OAuth backend variables # Google OAuth client id