Pin versions

This tutorial explains how to pin Keycloak to specific version.

Pin Helm chart version

The Keycloak deployment is mainly generated through codecentric’s Keycloak Helm chart. New versions are released in the Releases page.

Normally the component tries to stay up-to-date with the latest Helm chart version. If you need to override the chart version, you can pin it in the parameters:

parameters:
  keycloak:
    charts:
      keycloak: '<version>'

Pin container image tag

The version of Keycloak itself is defined in the Helm chart release. New versions are released in the Quay.io container registry.

Since we’re using an upstream Helm chart, it can sometimes take a while until new Keycloak releases actually make it into a new Helm chart release. If you need to override the Keycloak version, you can pin it in the parameters:

parameters:
  keycloak:
    helm_values:
      image:
        tag: '<tag>'