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

[bitnami/keycloak] Update KEYCLOAK_ADMIN env variable for deprecation #30635

Conversation

singatias
Copy link
Contributor

Screenshot 2024-11-26 at 16 40 05

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 version bumped in Chart.yaml according to semver. This is not necessary when the changes only affect README.md files.
  • Variables are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • Title of the pull request follows this pattern [bitnami/<name_of_the_chart>] Descriptive title
  • All commits signed off and in agreement of Developer Certificate of Origin (DCO)

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
@github-actions github-actions bot added keycloak triage Triage is needed labels Nov 26, 2024
@github-actions github-actions bot requested a review from javsalgar November 26, 2024 21:41
@singatias singatias marked this pull request as draft November 26, 2024 21:42
@singatias singatias marked this pull request as ready for review November 26, 2024 21:45
@singatias singatias changed the title bitnami/keycloak Update KEYCLOAK_ADMIN env variable for deprecation [bitnami/keycloak] Update KEYCLOAK_ADMIN env variable for deprecation Nov 26, 2024
bitnami-bot and others added 21 commits November 26, 2024 21:49
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
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

Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
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

Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
* [bitnami/kube-prometheus] Add support for scrapeClasses

Signed-off-by: David Hedberg <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: David Hedberg <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Juan José Martos <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
Co-authored-by: Juan José Martos <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
* [bitnami/thanos] Release 15.8.2 updating components versions

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: juan131 <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
* [bitnami/haproxy] Release 2.1.11 updating components versions

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
bitnami-bot and others added 11 commits November 26, 2024 22:20
* [bitnami/chainloop] Release 2.0.43 updating components versions

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
* [bitnami/nginx] Release 18.2.6 updating components versions

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
* [bitnami/clickhouse] Release 7.0.2 updating components versions

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
* [bitnami/chainloop] Release 2.0.44 updating components versions

Signed-off-by: Bitnami Containers <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
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

Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Mathias Beaulieu-Duncan <[email protected]>
@singatias
Copy link
Contributor Author

I'm not sure what I am doing wrong to respect the DCO requirement and the amount of commits are starting to grow exponentially, what should I do?
I applied: git rebase HEAD~17 --signoff but DCO still doesn't approve, please help :(

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

Successfully merging this pull request may close these issues.

5 participants