Skip to main content

Upgrade Keycloak from 24.0.4 to 26.4.5

The full description of Keycloak migration changes available here.

Changes for keycloak-helm/Chart.yaml

ParameterCurrent ValueNew Value
version2.3.07.1.5
appVersion24.0.426.4.5
dependencies[].version2.3.07.1.5

Changes for keycloak-helm/values-<cloud_name>.yaml

IMPORTANT

Keycloak deployment values for version 24.0.4 contains hardcoded version definition which needs to be removed to use the version defined by Helm chart.

Settings to be removed

keycloakx.image.tag: '24.0.4'

Settings to be changed

ParameterCurrent ValueNew Value
keycloakx.proxy.modeedgexforwarded

Environment variables changes keycloakx.extraEnv[]

Variable NameCurrent ValueNew ValueComment
KC_HOSTNAMEkeycloak.fqdn.comhttps://keycloak.fqdn.comValue can be domain name or URL
KC_HOSTNAME_ADMINUNSEThttps://keycloak.fqdn.comNew variable. The URL to access admin console
KC_HTTP_ENABLEDtrueUNSETManaged by helm chart. True by default
KC_HOSTNAME_STRICT_HTTPSfalseUNSETNot longer supported
KC_HOSTNAME_BACKCHANNEL_DYNAMICUNSETtrueNew variable. Allows clients to access Keycloak by backchannel link
HTTP_ADDRESS_FORWARDINGtrueUNSETNot longer supported
PROXY_ADDRESS_FORWARDINGtrueUNSETNot longer supported

Environment variables renamed keycloakx.extraEnv[]

No value changes required.

Current NameNew Name
KEYCLOAK_ADMINKC_BOOTSTRAP_ADMIN_USERNAME
KEYCLOAK_ADMIN_PASSWORDKC_BOOTSTRAP_ADMIN_PASSWORD
IMPORTANT

Ensure keycloak-helm/Chart.lock file and keycloak-helm/charts/ directory do not exist before apply changes.