diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index 2b0739af5f..08828702d5 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -889,9 +889,9 @@ website: mdapi.fedoraproject.org destname: mdapi balancer_name: app-os - balancer_members: "{{ (env == 'staging')|ternary(openshift_nodes_stg, openshift_nodes) }}" + balancer_members: "{{ (env == 'staging')|ternary(ocp_nodes_stg, ocp_nodes) }}" targettype: openshift - ocp4: false + ocp4: true keephost: true tags: mdapi diff --git a/playbooks/openshift-apps/mdapi.yml b/playbooks/openshift-apps/mdapi.yml index 1456ffbab5..4a79855cae 100644 --- a/playbooks/openshift-apps/mdapi.yml +++ b/playbooks/openshift-apps/mdapi.yml @@ -1,5 +1,5 @@ - name: make the app be real - hosts: os_masters_stg[0]:os_masters[0] + hosts: os_control_stg[0]:os_control[0] user: root gather_facts: False diff --git a/roles/openshift-apps/mdapi/files/cron.yml b/roles/openshift-apps/mdapi/files/cron.yml index 60b429e775..4dffd0e24c 100644 --- a/roles/openshift-apps/mdapi/files/cron.yml +++ b/roles/openshift-apps/mdapi/files/cron.yml @@ -16,7 +16,7 @@ spec: spec: containers: - name: mdapi - image: docker-registry.default.svc:5000/mdapi/mdapi:latest + image: image-registry.openshift-image-registry.svc:5000/mdapi/mdapi:latest command: ["bash", "-c", "/code/mdapi-get_repo_md /etc/mdapi/mdapi.cfg"] volumeMounts: - name: config-volume