Skip to content

Commit 4b3e610

Browse files
authored
Merge pull request #330 from projectsyn/howto-v26
How to Upgrade from v18 to v19
2 parents f0ed70e + 9ad7fa1 commit 4b3e610

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
= Upgrade from v18 to v19
2+
3+
This guide describes the steps to perform an upgrade of the component from version v18 to v19.
4+
5+
== Breaking Changes
6+
7+
* The component doesn't work with an older Keycloak version than v26.
8+
* See the breaking changes of the keycloak version https://www.keycloak.org/docs/latest/upgrading/#migrating-to-26-0-0[26.0].
9+
* See the breaking changes of the keycloak version https://www.keycloak.org/docs/latest/upgrading/#breaking-changes[26.2].
10+
11+
== Changes
12+
13+
* The component requires Kubernetes v1.25 or newer.
14+
* Keycloak version is v26.2.3 by default.
15+
16+
== Attention
17+
18+
* To prevent losing user sessions upgrade to Keycloak 25 first and enable the persistent sessions feature as outlined in the migration guide for Keycloak 25. See https://www.keycloak.org/docs/latest/upgrading/#infinispan-marshalling-changes[reference].
19+
20+
== Parameter changes
21+
22+
* None
23+
24+
== Step-by-step guide
25+
26+
. Do a backup of the built-in database.
27+
+
28+
[source,bash]
29+
----
30+
instance=keycloak
31+
namespace=syn-${instance}
32+
33+
kubectl -n "${namespace}" exec -ti keycloak-postgresql-0 -c postgresql -- sh -c 'PGDATABASE="$POSTGRES_DATABASE" PGUSER="$POSTGRES_USER" PGPASSWORD="$POSTGRES_PASSWORD" pg_dump --clean' > keycloak-postgresql-$(date +%F-%H-%M-%S).sql
34+
----
35+
36+
. Apply the parameter changes.
37+
38+
. Compile and push the cluster catalog.

docs/modules/ROOT/partials/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
* xref:how-tos/upgrade-15.x-to-16.x.adoc[Upgrade 15.x to 16.x]
3131
* xref:how-tos/upgrade-16.x-to-17.x.adoc[Upgrade 16.x to 17.x]
3232
* xref:how-tos/upgrade-17.x-to-18.x.adoc[Upgrade 17.x to 18.x]
33+
* xref:how-tos/upgrade-18.x-to-19.x.adoc[Upgrade 18.x to 19.x]
3334
* xref:how-tos/openshift-4.adoc[Install on OpenShift 4]
3435
* xref:how-tos/pin-versions.adoc[Pin versions]
3536

0 commit comments

Comments
 (0)