Let's suppose that in project my-prj there is a a route "my-route-8752a".
Whatever way I try to change this route (i.e. "oc replace -f my-route.yaml", "oc edit route my-route-8752a") what i get is a new route is automatically created with a new name (ex. "my-route-3r56c2") and has the same values of the previous (wrong) route.
To me the name of the new route seems to followeing a schema similar to how names are automatically given to new pods (i.e. "pod-name-randomextension")
There are no templates in openshift-config. Perhaps the route is defined in the dc/deployment?
What do I miss?
Thanks
And here is the solution!
Instead of a route, an ingress with wrong values is defined.
If you delete the route, it is re-created with a different route-name, but still wrong.
To fix this, edit the ingress configuration with correct values.
Once done, the correct route is generated everyting works.
Who will take EX280 should take care: when studying DO280 you never work with a deployment ingress, you always work with route. Practice with ingress before taking the exam.
And here is the solution!
Instead of a route, an ingress with wrong values is defined.
If you delete the route, it is re-created with a different route-name, but still wrong.
To fix this, edit the ingress configuration with correct values.
Once done, the correct route is generated everyting works.
Who will take EX280 should take care: when studying DO280 you never work with a deployment ingress, you always work with route. Practice with ingress before taking the exam.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.