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, 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