How to make 'OPENSHIFT_MASTER_DEFAULT_SUBDOMAIN' available to pods as an environment parameter?

Solution Verified - Updated -

Issue

  • How to make 'OPENSHIFT_MASTER_DEFAULT_SUBDOMAIN' available to pods as an environment parameter?
  • How to make subdomain configured in /etc/origin/master/master-config.yaml available as an environment parameter for all pods?
  • When application is deployed, route hostname is created with subdomain. For example: abc.subdomain.com.
    Is this subdomain value bound to an environment parameter inside pod?

Environment

  • OpenShift Container Platform 3.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.