Rameez
Rameez

Reputation: 594

How to use single domain for multiple projects in OpenShift?

Scenario like:

In simple, how to define same domain in 2 different projects using routes on Openshift Platform?

openshift version 3.5

Upvotes: 1

Views: 725

Answers (2)

PerC
PerC

Reputation: 439

This is possible by disabling the namespace ownership checks, but read and understand the warning!

Of course the above only applies to OpenShift clusters you manage your self, i.e. not OpenShift Online.

Upvotes: 1

Graham Dumpleton
Graham Dumpleton

Reputation: 58523

I don't believe you could do it with them in different projects. All applications for the same domain would need to be in the same project. So long as you satisfy that requirement, you can use the route.spec.path attribute of different route objects for same host name, to route sub URLs to different services.

Upvotes: 1

Related Questions