Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CORS for cluster's inner URLs #88

Open
cbeldacap opened this issue Jan 12, 2018 · 2 comments
Open

Enable CORS for cluster's inner URLs #88

cbeldacap opened this issue Jan 12, 2018 · 2 comments

Comments

@cbeldacap
Copy link

cbeldacap commented Jan 12, 2018

I'd like to know if there is a command to enable specific URLs to use the cluster's rest API rather than localhost/127.0.0.1.

In my case, I'd like to use the OpenShift rest API from a web application (Angular5 in my case, but that's irrelevant) deployed in cluster itself.

Using the openshift executable, there is something like:
openshift start --cors-allowed-origins=[]

Anything similar for this?

Thanks so much in advance and congrats for the great job 😄

Cristóbal

@jorgemoralespou
Copy link
Contributor

jorgemoralespou commented Jan 12, 2018 via email

@cbeldacap
Copy link
Author

@jorgemoralespou is this supposed to be added at the time of getting the cluster up?

Something like:

oc-cluster up --configPatch ...

(?)

Thanks a lot for the quick feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants