bitnami / containers

Bitnami container images
https://bitnami.com
Other
3.26k stars 4.75k forks source link

[bitnami/keycloak] KEYCLOAK_ENABLE_HEALTH_ENDPOINTS environment variable rename #71077

Open nix-power opened 3 weeks ago

nix-power commented 3 weeks ago

Name and Version

bitnami/keycloak-25.0.4

What architecture are you using?

amd64

What steps will reproduce the bug?

In official Krycloak documentation for 25.0.4 it appears that in order to enable healthcheck endpoints need to use the following environment variable: KC_HEALTH_ENABLED: true

(https://www.keycloak.org/server/health)

The bitnami container still uses KEYCLOAK_ENABLE_HEALTH_ENDPOINTS variable which is confusing and hard to debug, while operating container in K8S using official bitnami helm chart

What is the expected behavior?

when i use environment variable KC_HEALTH_ENABLED: true i supposed to view inside the configuration file keycloak.conf the following setting:

health-enabled = true

but i see it is equals to false. Only when i use KEYCLOAK_ENABLE_HEALTH_ENDPOINTS: true i see the correct configuration reflected in the file

What do you see instead?

health-enabled = false

Additional information

No response

javsalgar commented 3 weeks ago

Hi,

In other containers we allow aliases so both environment vars could be used. Would that work for your use case?

nix-power commented 2 weeks ago

Absolutely !

gongomgra commented 2 weeks ago

@nix-power if you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

github-actions[bot] commented 2 days ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.