-
Notifications
You must be signed in to change notification settings - Fork 61
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
Routes defined with _
converted to -
(Routes replacing underscore with minus / dash)
#1114
Comments
is it a issue on MTA Deploy Service ? could you provide more content of a mta.yaml and more reproduce steps ? |
Given a mta that defines a route, such as for example https://github.com/SAP-samples/cf-mta-examples/blob/main/app-routes/http2-routes/mta.yaml if your routes include an underscore, such as With regards to reproducability - simply deploy any application with such a route to cloud foundry and check the created routes. |
Hey @tsteckenborn The correction of CF app routes happens during MTA deployment in BTP CF. In general, there are the following legacy policies for auto-correction of hosts
The situation with autocorrection of routes and hosts is not the best one, but it is important to know that it exists since the introduction of MTA deployment in SAP CF. Back than the MTA deployments inherits these resitrcitions from the platform. My suggestion is to use short hostnames without dashes which will not be autocorrected. |
Steps to Reproduce:
test_host_something.cfapps.eu10.hana.ondemand.com
it created the routetest-host-something.cfapps.eu10.hana.ondemand.com
Via the Cloud Foundry CLI creation of the route
test-host-something.cfapps.eu10.hana.ondemand.com
works without issues.The text was updated successfully, but these errors were encountered: