router-metrics-tls secret is missing when deploying using playbook

Solution Verified - Updated -

Issue

  • When a customer openshift_hosted_routers and deploys the routers using ansible-playbook -i <ansible inventory> \
    /usr/share/ansible/openshift-ansible/playbooks/openshift-hosted/deploy_router.yml

  • The routers won't work because the secret router-metrics-tls secret is missing. If openshift_hosted_routers is not defined oc_adm_router works as expected creating the secret.

Environment

  • Openshift Container Platform
    • 3.10
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content