-
Notifications
You must be signed in to change notification settings - Fork 107
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
Unable to configure the routing-api to disable the HTTP listener in cf-deployment #193
Comments
Thank you for writing this up @amhuber. As always, contributing a PR is the fastest way to get fixes in. Please let me know if you are interested in contributing one. Until then, I will add this to the team's backlog to fix. Thanks, |
We've done a few pull requests previously for simpler fixes like updates to templates or spec files, but I don't have any golang developers on my team who are capable of changing the routing-api code and the unit tests. |
I've made two commits above that I think should together address this issue. We don't actually run |
I was just going to start seeing if I could figure out enough golang to add your commits and see if the tests are breaking, but when I look now it looks like the commits you made are gone. I don't suppose you happen to have the code changes you made somewhere that you can share again? |
@amhuber oh no :( I cleaned up some forks recently and it must have been in one. I'll set a reminder for next week to see if I still have a copy |
FYI this appears to be addressed now by cloudfoundry/cf-deployment#1014 and #300 |
Issue
Unable to configure the routing-api to disable the HTTP listener in cf-deployment due to issues with the DNS healthcheck and the registration of the api.system_domain/routing route.
Affected Versions
All recent versions of cf-deployment and routing-release.
Context
As discussed at cloudfoundry/cf-deployment#906, when configuring the routing_api.enabled_api_endpoints manifest property to "mtls", the routing-api does correctly not start the listener on the HTTP port (3000 by default) but the routing release is not functional due to two issues:
Steps to Reproduce
Configure routing_api.enabled_api_endpoints to "mtls" and deploy the current cf-deployment release.
Expected result
Current result
Possible Fix
Modify the routing-api route registration logic as necessary when enabled_api_endpoints is configured to "mtls", and use an appropriate if statement in the DNS healthcheck to use the correct port per the setting.
The text was updated successfully, but these errors were encountered: