Skip to content
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

Disable admin console on wildfly images #919

Open
deewhyweb opened this issue Nov 29, 2022 · 2 comments
Open

Disable admin console on wildfly images #919

deewhyweb opened this issue Nov 29, 2022 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@deewhyweb
Copy link
Contributor

When running wildfly or JBoss images on kubernetes the admin console is not required. All configuration changes should be made using scripts at image build time or on startup using the jboss-cli.

Disabling the admin console will allow the health check required by the wildfly operator to work without causing any potential security implications. For the health check to work the management interface needs to be available on 0.0.0.0

The OpenShift JBoss image defaults to disabled admin console. It does this by using a standalon-openshift.xml configuration with the console disabled.

I recommend we do something similar, e.g. include a custom standalone.xml, or edit the standalone.xml using an xml parser in the dockerfile.

@deewhyweb
Copy link
Contributor Author

Add console-enabled="false" to in standalone.xml (or host.xml):

Raw

...(snip)...








@HarikrishnanBalagopal
Copy link
Contributor

HarikrishnanBalagopal commented Mar 21, 2024

The OpenShift JBoss image defaults to disabled admin console. It does this by using a standalon-openshift.xml configuration with the console disabled.

@deewhyweb would using the Openshift JBoss image instead of UBI

FROM registry.access.redhat.com/ubi8/ubi-minimal:latest

fix this issue?

@HarikrishnanBalagopal HarikrishnanBalagopal added the kind/bug Categorizes issue or PR as related to a bug. label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants