Skip to content

Commit

Permalink
Merge pull request #306 from projectsyn/v17
Browse files Browse the repository at this point in the history
Keycloak v24 update
  • Loading branch information
megian authored Nov 5, 2024
2 parents dbe2f0d + 584f487 commit af11155
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 10 deletions.
2 changes: 1 addition & 1 deletion class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ parameters:
keycloak:
registry: quay.io
repository: keycloak/keycloak
tag: 23.0.7
tag: 24.0.5
busybox:
registry: docker.io
repository: busybox
Expand Down
30 changes: 30 additions & 0 deletions docs/modules/ROOT/pages/how-tos/upgrade-16.x-to-17.x.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
= Upgrade from v16 to v17

This guide describes the steps to perform an upgrade of the component from version v16 to v17.

== Changes

* The component requires Kubernetes v1.25 or newer.
* Keycloak version is v24.0.5 by default.

== Parameter changes

* None

== Step-by-step guide

When upgrading the component, the following actions are required if the built-in database is used:

. Do a backup of the built-in database.
+
[source,bash]
----
instance=keycloak
namespace=syn-${instance}
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
----

. Apply the parameter changes.

. Compile and push the cluster catalog.
1 change: 1 addition & 0 deletions docs/modules/ROOT/partials/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* xref:how-tos/upgrade-13.x-to-14.x.adoc[Upgrade 13.x to 14.x]
* xref:how-tos/upgrade-14.x-to-15.x.adoc[Upgrade 14.x to 15.x]
* xref:how-tos/upgrade-15.x-to-16.x.adoc[Upgrade 15.x to 16.x]
* xref:how-tos/upgrade-16.x-to-17.x.adoc[Upgrade 16.x to 17.x]
* xref:how-tos/openshift-4.adoc[Install on OpenShift 4]
* xref:how-tos/pin-versions.adoc[Pin versions]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 23.0.7
app.kubernetes.io/version: 24.0.5
helm.sh/chart: keycloakx-2.3.0
name: keycloakx
namespace: syn-builtin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/instance: keycloakx
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloakx
app.kubernetes.io/version: 23.0.7
app.kubernetes.io/version: 24.0.5
helm.sh/chart: keycloakx-2.3.0
name: keycloakx
namespace: syn-builtin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 23.0.7
app.kubernetes.io/version: 24.0.5
helm.sh/chart: keycloakx-2.3.0
name: keycloakx
namespace: syn-builtin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
app.kubernetes.io/instance: keycloakx
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloakx
app.kubernetes.io/version: 23.0.7
app.kubernetes.io/version: 24.0.5
helm.sh/chart: keycloakx-2.3.0
name: keycloakx-headless
namespace: syn-builtin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 23.0.7
app.kubernetes.io/version: 24.0.5
helm.sh/chart: keycloakx-2.3.0
name: keycloakx-http
namespace: syn-builtin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 23.0.7
app.kubernetes.io/version: 24.0.5
helm.sh/chart: keycloakx-2.3.0
name: keycloakx
namespace: syn-builtin
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 23.0.7
app.kubernetes.io/version: 24.0.5
helm.sh/chart: keycloakx-2.3.0
name: keycloakx-keycloakx
namespace: syn-builtin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 23.0.7
app.kubernetes.io/version: 24.0.5
helm.sh/chart: keycloakx-2.3.0
name: keycloakx
namespace: syn-builtin
Expand Down Expand Up @@ -97,7 +97,7 @@ spec:
name: keycloak-admin-user
- secretRef:
name: keycloak-postgresql
image: quay.io/keycloak/keycloak:23.0.7
image: quay.io/keycloak/keycloak:24.0.5
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down

0 comments on commit af11155

Please sign in to comment.