Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.15.0
-
None
Description
We are running an Artemis cluster inside of a Kubernetes cluster and want to expose the broker web console via a Kubernetes Ingress. This currently works only when using a dedicated host and exposing the root url but not for sub-paths (e.g., /my/path/console) because the console path is hardcoded to the second element in index.html:
<script type="text/javascript"> var base = window.location.pathname.split('/', 2)[1]; if (base == "") { document.write("<base href='/'/>"); } else { document.write("<base href='/" + base + "/' />"); } </script>
Changing the the url in bootstrap.xml is not an option because applications accessing the Jolokia interface then need to know the external address.
Attachments
Issue Links
- is fixed by
-
ARTEMIS-2838 Migrate Console to use Hawtio 2
- Closed