-
Notifications
You must be signed in to change notification settings - Fork 8
docs: add keycloak update guide #177
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 | ||
| 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 | | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's just an example. |
||
| | ----------------------- | ------------- | ----------- | -------------------------------------------------- | | ||
| | `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: | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you want to describe |
||
|
|
||
| ```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. | ||
| ::: | ||
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.