-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Quarkus-openshift extension should create a route to access separate management interface #32269
Comments
Which endpoint of the management interface do you need access from outside the cluster ? |
There is already a property to specify the port name to expose: https://quarkus.io/guides/all-config.html#quarkus-kubernetes_quarkus.openshift.route.target-port
I'm closing this issue for now. Feel free to reopen it, if you mean to achieve something else. |
@Sgitario thank you, but this option allows to create route to the management port instead of http port. My intention is to have access to both simultaneously, but I see no way to do it through this property. @rquinio I understand, that external access may have security implications, that is why I suggest to add an optional property. |
Since this raises security concerns, I doubt we should provide this option. Yet users can always provide their own Route resource that uses the |
@Sgitario security concerns for the suggested management route are exactly the same, as for disabled management interface, which is default in quarkus, no? Comparing with the current baseline, we just give the user an ability to make traffic flow through two routes instead of one. |
Not really, because the management port is not publicly exposed. |
@Sgitario by default(without After the second thought, it looks like the best solution would be not to have a separate new property, but to allow |
And the idea of Still, if users wanted to do this, they would use What I'm trying to say is that while I understand your feature request, I don't see a real use case for it.
The configuration for the application port and the management port (to be precise, the TLS configuration) is different, so we could not reuse the same |
Having said this, if you strongly think that this is necessary. I'm ok to reopen this feature, so other users can request it as well, and if so, we will implement it in the future. |
Description
I have an application[1], deployed on Openshift via Quarkus-openshift extension[2][4], which uses separate management interface[3]. After the deployment, there is no way to access the management interface from outside the cluster, since the extension creates a service[5] for application, but the route only points to the http port[6].
[1]
git@github.com:fedinskiy/reproducer.git -b openshift-extension-management
[2]
mvn clean install -Dquarkus.kubernetes.deploy=true -Dquarkus.openshift.route.expose=true -Dquarkus.kubernetes-client.trust-certs=true -Dquarkus.platform.version=999-SNAPSHOT -Dquarkus.platform.group-id=io.quarkus
[3] #30506
[4] https://quarkus.io/guides/deploying-to-openshift
[5]
[6]
Implementation ideas
Ideally, there should be option like
quarkus.openshift.management-route.expose=true
to create a route to the management interface, if required.The text was updated successfully, but these errors were encountered: