diff --git a/playbooks/openshift-apps/the-new-hotness.yml b/playbooks/openshift-apps/the-new-hotness.yml index 8bdffdb0a1..3c0074dbbc 100644 --- a/playbooks/openshift-apps/the-new-hotness.yml +++ b/playbooks/openshift-apps/the-new-hotness.yml @@ -27,8 +27,17 @@ app: the-new-hotness key: koji-keytab secret_name: the-new-hotness-keytab - service: hotness - host: "hotness{{env_suffix}}.fedoraproject.org" + service: the-new-hotness + host: "release-monitoring.org" + when: env == "production" + + - role: openshift/keytab + app: the-new-hotness + key: koji-keytab + secret_name: the-new-hotness-keytab + service: the-new-hotness + host: "stg.release-monitoring.org" + when: env == "staging" - role: openshift/secret-file app: the-new-hotness diff --git a/roles/openshift-apps/the-new-hotness/templates/configmap.yml b/roles/openshift-apps/the-new-hotness/templates/configmap.yml index 954d1945bf..3d0eeca1f3 100644 --- a/roles/openshift-apps/the-new-hotness/templates/configmap.yml +++ b/roles/openshift-apps/the-new-hotness/templates/configmap.yml @@ -141,11 +141,12 @@ items: {% if env == "staging" %} server = "https://koji.stg.fedoraproject.org/kojihub" weburl = "https://koji.stg.fedoraproject.org/koji" + krb_principal = "the-new-hotness/stg.release-monitoring.org@{{ipa_realm}}" {% else %} server = "https://koji.fedoraproject.org/kojihub" weburl = "https://koji.fedoraproject.org/koji" + krb_principal = "the-new-hotness/release-monitoring.org@{{ipa_realm}}" {% endif %} - krb_principal = "hotness/hotness{{env_suffix}}.fedoraproject.org@{{ipa_realm}}" krb_keytab = "/etc/krb5.hotness_hotness{{env_suffix}}.fedoraproject.org.keytab" krb_ccache = "" krb_proxyuser = ""