microcks / microcks-ansible-operator

Kubernetes Operator for easy setup and management of Microcks installs
https://microcks.io
Apache License 2.0
26 stars 5 forks source link

Create Route with specific hostname #3

Closed lbroudoux closed 5 years ago

lbroudoux commented 5 years ago

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 commented 5 years ago

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