-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[bitnami/keycloak] Update KEYCLOAK_ADMIN env variables deprecation #30636
base: main
Are you sure you want to change the base?
[bitnami/keycloak] Update KEYCLOAK_ADMIN env variables deprecation #30636
Conversation
Environment variable 'KEYCLOAK_ADMIN' is deprecated, use 'KC_BOOTSTRAP_ADMIN_USERNAME' instead Environment variable 'KEYCLOAK_ADMIN_PASSWORD' is deprecated, use 'KC_BOOTSTRAP_ADMIN_PASSWORD' instead Bump major version Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Sorry, duplicate of #30635, it was starting to get messy for such small changes |
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @singatias
KEYCLOAK_ADMIN
and KEYCLOAK_ADMIN_PASSWORD
are the actual values used by the Bitnami Keycloak container image, see:
Why is this change necessary? In case they're necessary due to upstream changes, we should start by adapting the container image 1st.
Hi @juan131, they are not necessary yet but they are already marked as deprecated so I took proactive decision make the changes. You are correct about making changes for the container image first container PR https://www.keycloak.org/docs/26.0.6/upgrading/#external-infinispan-in-a-single-site-setup I'm still new to participate in big open source repository, let me know if there things I can improve on :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution @singatias, could you please take a look at my comment?
…jor version Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Description of the change
Minor changes to change KEYCLOAK_ADMIN and KEYCLOAK_ADMIN_PASSWORD environment and secret variables to update to the new values KC_BOOTSTRAP_ADMIN_USERNAME, KC_BOOTSTRAP_ADMIN_PASSWORD
Benefits
remove deprecation message and reduce the upcoming maintenance when the env variables will be removed
Possible drawbacks
the new variables env could be invalid on a an older keycloak image
Applicable issues
none
Additional information
I notice the deprecation messages on my new instance of keycloak and decided to make the changes since they were minor
I could be wrong about bumping the major version of the chart, but technically, if someone upgrades their Keycloak instance using an older overridden version of the Keycloak image from before the environment variables were changed, it could be defective. Let me know if this need to be change or feel free to edit it before merging.
Checklist
Chart.yaml
according to semver. This is not necessary when the changes only affect README.md files.README.md
using readme-generator-for-helm