Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions docs/admin/update/keycloak/keycloak-upgrade/keycloak-26-to-26.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
id: keycloak-26-to-26
sidebar_position: 8
title: Keycloak Upgrade 26.X.Y -> 26.X.Y
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, use exact versions instead of generic. It's possible that in some future version upgrade procedure might include additional steps or configuration.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's discuss this approach. I've scheduled a call.

description: Upgrade Keycloak from 26.4.5 to 26.5.6
pagination_next: null
---

# Upgrade Keycloak from 26.4.5 to 26.5.6

The full description of Keycloak migration changes available [here](https://www.keycloak.org/docs/latest/upgrading/index.html#migration-changes).

## Pre-Upgrade Requirements

**Before proceeding with any upgrade, ensure you have:**

- Planned for potential downtime
- Tested the upgrade process in a non-production environment

**Before starting the upgrade**

- Check the list of available chart versions:

```bash
helm search repo codecentric/keycloakx --versions
```

:::info

> The Helm chart version and the application version may differ.
> All the component's version included in the helm chart might be different from **APP VERSION**.
> Always rely on the **Chart version** when determining compatibility and deployment behavior.

:::

| NAME | CHART VERSION | APP VERSION | DESCRIPTION |
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What this table shows related to KC upgrade from 26.4.5 to 26.5.6?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just an example.
This document describes a common update approach for minor changes.

| ----------------------- | ------------- | ----------- | -------------------------------------------------- |
| `codecentric/keycloakx` | `7.1.9` | `26.5.5` | Keycloak.X - Open Source Identity and Access Ma... |
| `codecentric/keycloakx` | `7.1.8` | `26.5.3` | Keycloak.X - Open Source Identity and Access Ma... |

- Once you identify the target chart version, you can inspect the container image tags used in that release:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to describe generic steps of Keycloak upgrade, please, extend existing page https://github.com/codemie-ai/docs/blob/main/docs/admin/update/keycloak/keycloak-upgrade/index.md


```bash
helm show values codecentric/keycloakx --version <TARGET_CHART_VERSION> | grep -A 4 image:
```

> This helps verify the underlying images before proceeding with the upgrade.

## Changes for `keycloak-helm/Chart.yaml`

| Parameter | Current Value | New Value |
| ---------------------- | ------------- | --------- |
| version | 2.1.5 | 7.1.9 |
| appVersion | 26.4.5 | 26.5.6 |
| dependencies[].version | 7.1.5 | 7.1.9 |

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

### Settings to be added

```yaml
keycloakx:
image:
tag: 26.5.6
```

:::warning IMPORTANT
Ensure `keycloak-helm/Chart.lock` file and `keycloak-helm/charts/` directory do not exist before apply changes.
:::
5 changes: 4 additions & 1 deletion sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,10 @@ const sidebars: SidebarsConfig = {
id: 'admin/update/keycloak/keycloak-upgrade/keycloak-upgrade',
},
collapsed: true,
items: ['admin/update/keycloak/keycloak-upgrade/keycloak-24-to-26'],
items: [
'admin/update/keycloak/keycloak-upgrade/keycloak-24-to-26',
'admin/update/keycloak/keycloak-upgrade/keycloak-26-to-26',
],
},
'admin/update/keycloak/keycloak-operator-upgrade',
'admin/update/keycloak/keycloak-database-migration',
Expand Down
Loading