Skip to content

Commit

Permalink
Merge pull request #128 from projectsyn/commodore-renovate/major-keyc…
Browse files Browse the repository at this point in the history
…loak

Update Helm release keycloak to v18
  • Loading branch information
megian authored May 24, 2022
2 parents 6ea6d91 + 6b39ff8 commit 92ae30a
Show file tree
Hide file tree
Showing 29 changed files with 63 additions and 58 deletions.
2 changes: 1 addition & 1 deletion class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ parameters:
namespace: syn-${_instance}
name: keycloak
charts:
keycloak: "17.0.3"
keycloak: "18.1.1"
# FQDN should be overwritten on the cluster level
fqdn: keycloak.example.com
# Namespace labels
Expand Down
4 changes: 4 additions & 0 deletions docs/modules/ROOT/pages/how-tos/upgrade-7.x-to-8.x.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= Upgrade from v7 to v8

There are no special steps required to upgrade from v7 to v8.
However, note that this version upgrades Keycloak from v16 to v17, so once Keycloak executed the DB migrations, a downgrade won't be possible.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= keycloak: A Commodore component to manage Keycloak

This component provides a set of tuned defaults and a simplified interface to deploy the https://artifacthub.io/packages/helm/codecentric/keycloak/17.0.3[Keycloak helm chart] on a Syn-enabled cluster.
This component provides a set of tuned defaults and a simplified interface to deploy the https://artifacthub.io/packages/helm/codecentric/keycloak/18.1.1[Keycloak helm chart] on a Syn-enabled cluster.

The component defaults to provisioning a Bitnami Postgres database via the
Keycloak helm chart, but this behavior can be overridden using the
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/references/parameters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Usually there is just one deployment and therefore no change is required.

[horizontal]
type:: helm chart version
default:: `17.0.3`
default:: `18.1.1`

A specific chart version. See the https://kapitan.dev/external_dependencies/#helm-type[kapitan documentation] for more information.

Expand Down Expand Up @@ -724,6 +724,6 @@ type:: dict
default:: see `defaults.yml`

All helm_values are passed to the helm chart.
This allows to configure all https://github.com/codecentric/helm-charts/tree/keycloak-17.0.3/charts/keycloak#configuration[keycloak helm chart values].
This allows to configure all https://github.com/codecentric/helm-charts/tree/keycloak-18.1.1/charts/keycloak#configuration[keycloak helm chart values].

Note that it's your own liability to make sure you don't break stuff by overwriting values here!
1 change: 1 addition & 0 deletions docs/modules/ROOT/partials/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* xref:how-tos/upgrade-4.x-to-5.x.adoc[Upgrade 4.x to 5.x]
* xref:how-tos/upgrade-5.x-to-6.x.adoc[Upgrade 5.x to 6.x]
* xref:how-tos/upgrade-6.x-to-7.x.adoc[Upgrade 6.x to 7.x]
* xref:how-tos/upgrade-7.x-to-8.x.adoc[Upgrade 7.x to 8.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 @@ -31,6 +31,6 @@ metadata:
app.kubernetes.io/instance: keycloak
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-startup
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
spec:
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
spec:
groups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: keycloak
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-headless
spec:
clusterIP: None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-http
spec:
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-wildfly
spec:
endpoints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: builtin
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
spec:
podManagementPolicy: Parallel
Expand All @@ -20,7 +20,7 @@ spec:
template:
metadata:
annotations:
checksum/config-startup: 240f7e88b3f85cfd89f1a68abd09c347682fbb0d905ee60babf45f20f3ad7bc1
checksum/config-startup: 75d6bfe5f02312ac63fc589eae454f3a93799b408922648b26a933a33e87aa27
checksum/secrets: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
labels:
app.kubernetes.io/instance: keycloak
Expand Down Expand Up @@ -94,7 +94,7 @@ spec:
name: keycloak-admin-user
- secretRef:
name: keycloak-postgresql
image: quay.io/keycloak/keycloak:16.1.1
image: quay.io/keycloak/keycloak:17.0.1-legacy
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ metadata:
app.kubernetes.io/instance: keycloak
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-startup
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ metadata:
app.kubernetes.io/instance: external
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
spec:
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: external
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
spec:
groups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: keycloak
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-headless
spec:
clusterIP: None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: external
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-http
spec:
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ metadata:
app.kubernetes.io/instance: external
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: external
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-wildfly
spec:
endpoints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: external
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
spec:
podManagementPolicy: Parallel
Expand All @@ -20,7 +20,7 @@ spec:
template:
metadata:
annotations:
checksum/config-startup: 240f7e88b3f85cfd89f1a68abd09c347682fbb0d905ee60babf45f20f3ad7bc1
checksum/config-startup: 75d6bfe5f02312ac63fc589eae454f3a93799b408922648b26a933a33e87aa27
checksum/secrets: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
labels:
app.kubernetes.io/instance: keycloak
Expand Down Expand Up @@ -76,7 +76,7 @@ spec:
name: keycloak-admin-user
- secretRef:
name: keycloak-postgresql
image: quay.io/keycloak/keycloak:16.1.1
image: quay.io/keycloak/keycloak:17.0.1-legacy
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ metadata:
app.kubernetes.io/instance: keycloak
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-startup
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ metadata:
app.kubernetes.io/instance: openshift
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
spec:
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: openshift
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
spec:
groups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: keycloak
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-headless
spec:
clusterIP: None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ metadata:
app.kubernetes.io/instance: openshift
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-http
spec:
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ metadata:
app.kubernetes.io/instance: openshift
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: openshift
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak-wildfly
spec:
endpoints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
app.kubernetes.io/instance: openshift
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: keycloak
app.kubernetes.io/version: 16.1.1
helm.sh/chart: keycloak-17.0.3
app.kubernetes.io/version: 17.0.1-legacy
helm.sh/chart: keycloak-18.1.1
name: keycloak
spec:
podManagementPolicy: Parallel
Expand All @@ -20,7 +20,7 @@ spec:
template:
metadata:
annotations:
checksum/config-startup: 240f7e88b3f85cfd89f1a68abd09c347682fbb0d905ee60babf45f20f3ad7bc1
checksum/config-startup: 75d6bfe5f02312ac63fc589eae454f3a93799b408922648b26a933a33e87aa27
checksum/secrets: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
labels:
app.kubernetes.io/instance: keycloak
Expand Down Expand Up @@ -76,7 +76,7 @@ spec:
name: keycloak-admin-user
- secretRef:
name: keycloak-postgresql
image: quay.io/keycloak/keycloak:16.1.1
image: quay.io/keycloak/keycloak:17.0.1-legacy
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down

0 comments on commit 92ae30a

Please sign in to comment.