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

Create Route with specific hostname #3

Closed
lbroudoux opened this issue Apr 1, 2019 · 1 comment
Closed

Create Route with specific hostname #3

lbroudoux opened this issue Apr 1, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@lbroudoux
Copy link
Member

For now, OpenShift routes are created using the default URI schema handled by the Router.
That is because whenever I try adding a custom hostname in templates, OpenShift complains about not being possible to modify the spec.host field of Route for security reasons.

Will have to investigate...

@lbroudoux lbroudoux added this to the 0.2.0 milestone Apr 1, 2019
@lbroudoux lbroudoux self-assigned this Apr 1, 2019
@lbroudoux
Copy link
Member Author

Just have to add those following apiGroup in role description and works like a charm!

- apiGroups:
  - route.openshift.io
  resources:
  - routes/custom-host
  verbs:
  - create

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

No branches or pull requests

1 participant