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

Configuration can't be updated at runtime #940

Open
nullptr0000 opened this issue Jan 17, 2025 · 0 comments
Open

Configuration can't be updated at runtime #940

nullptr0000 opened this issue Jan 17, 2025 · 0 comments

Comments

@nullptr0000
Copy link

As an apparent side effect of #797 and #795 the ability to configure authentication appears severely limited.

The configuration of authentication has changed to BUILD_AND_RUNTIME_FIXED instead of RUN_TIME. This appears to have the side effect (for example) of preventing the Quarkus Kubernetes Config methods being used to set or override values from K8S ConfigMaps or Secrets, and presumably breaks other production solutions invoked at runtime too eg. Vault.

I suspect the change also affects the ability to configure authentication values using system & environment properties for native builds, though this does still work OK for jar builds.

Setting certain configuration properties at build isn't necessarily an issue even if it's potentially inflexible, but deployment specific dynamic values (at minimum usernames/passwords/other identifiers) should always be configurable at runtime.

Either the authentication configuration should revert to runtime from build time or the configuration properties should be split into runtime and build time depending on their effect, in line with the methodology of other Quarkus components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant