Skip to content

Commit

Permalink
Upgrade to Keycloak 23
Browse files Browse the repository at this point in the history
upgrade the docker and kubernetes builds to use Keycloak 23.0.1,
see https://www.keycloak.org/2023/11/keycloak-2301-released.html

Fix jhipster#24352
  • Loading branch information
theycallmeducks committed Nov 29, 2023
1 parent 23f18c8 commit 90dbf40
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@
"totpAppFreeOTPName",
"totpAppMicrosoftAuthenticatorName"
],
"localizationTexts": {},
"webAuthnPolicyRpEntityName": "keycloak",
"webAuthnPolicySignatureAlgorithms": [
"ES256"
Expand All @@ -487,6 +488,7 @@
"webAuthnPolicyCreateTimeout": 0,
"webAuthnPolicyAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyAcceptableAaguids": [],
"webAuthnPolicyExtraOrigins": [],
"webAuthnPolicyPasswordlessRpEntityName": "keycloak",
"webAuthnPolicyPasswordlessSignatureAlgorithms": [
"ES256"
Expand All @@ -499,6 +501,7 @@
"webAuthnPolicyPasswordlessCreateTimeout": 0,
"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyPasswordlessAcceptableAaguids": [],
"webAuthnPolicyPasswordlessExtraOrigins": [],
"users": [
{
"id": "f742ba6f-1d8a-4dec-bf15-e02dab508283",
Expand Down Expand Up @@ -2578,7 +2581,7 @@
"frontendUrl": "",
"acr.loa.map": "[]"
},
"keycloakVersion": "22.0.1",
"keycloakVersion": "23.0.1",
"userManagedAccessAllowed": false,
"clientProfiles": {
"profiles": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@
"totpAppFreeOTPName",
"totpAppMicrosoftAuthenticatorName"
],
"localizationTexts": {},
"webAuthnPolicyRpEntityName": "keycloak",
"webAuthnPolicySignatureAlgorithms": [
"ES256"
Expand All @@ -487,6 +488,7 @@
"webAuthnPolicyCreateTimeout": 0,
"webAuthnPolicyAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyAcceptableAaguids": [],
"webAuthnPolicyExtraOrigins": [],
"webAuthnPolicyPasswordlessRpEntityName": "keycloak",
"webAuthnPolicyPasswordlessSignatureAlgorithms": [
"ES256"
Expand All @@ -499,6 +501,7 @@
"webAuthnPolicyPasswordlessCreateTimeout": 0,
"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyPasswordlessAcceptableAaguids": [],
"webAuthnPolicyPasswordlessExtraOrigins": [],
"users": [
{
"id": "f742ba6f-1d8a-4dec-bf15-e02dab508283",
Expand Down Expand Up @@ -2576,7 +2579,7 @@
"frontendUrl": "",
"acr.loa.map": "[]"
},
"keycloakVersion": "22.0.1",
"keycloakVersion": "23.0.1",
"userManagedAccessAllowed": false,
"clientProfiles": {
"profiles": []
Expand Down
14 changes: 10 additions & 4 deletions generators/kubernetes/__snapshots__/kubernetes.spec.mts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3041,6 +3041,7 @@ data:
"FreeOTP",
"Google Authenticator"
],
"localizationTexts": {},
"webAuthnPolicyRpEntityName": "keycloak",
"webAuthnPolicySignatureAlgorithms": [
"ES256"
Expand All @@ -3053,6 +3054,7 @@ data:
"webAuthnPolicyCreateTimeout": 0,
"webAuthnPolicyAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyAcceptableAaguids": [],
"webAuthnPolicyExtraOrigins": [],
"webAuthnPolicyPasswordlessRpEntityName": "keycloak",
"webAuthnPolicyPasswordlessSignatureAlgorithms": [
"ES256"
Expand All @@ -3065,6 +3067,7 @@ data:
"webAuthnPolicyPasswordlessCreateTimeout": 0,
"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyPasswordlessAcceptableAaguids": [],
"webAuthnPolicyPasswordlessExtraOrigins": [],
"scopeMappings": [
{
"clientScope": "offline_access",
Expand Down Expand Up @@ -5014,7 +5017,7 @@ data:
"cibaInterval": "5",
"frontendUrl": ""
},
"keycloakVersion": "22.0.1",
"keycloakVersion": "23.0.1",
"userManagedAccessAllowed": false,
"clientProfiles": {
"profiles": []
Expand Down Expand Up @@ -5222,7 +5225,7 @@ spec:
containers:
- name: keycloak
image: keycloak-placeholder
args: ["start --import-realm"]
args: "start --import-realm"
env:
- name: KEYCLOAK_ADMIN
value: "admin"
Expand Down Expand Up @@ -6485,6 +6488,7 @@ data:
"FreeOTP",
"Google Authenticator"
],
"localizationTexts": {},
"webAuthnPolicyRpEntityName": "keycloak",
"webAuthnPolicySignatureAlgorithms": [
"ES256"
Expand All @@ -6497,6 +6501,7 @@ data:
"webAuthnPolicyCreateTimeout": 0,
"webAuthnPolicyAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyAcceptableAaguids": [],
"webAuthnPolicyExtraOrigins": [],
"webAuthnPolicyPasswordlessRpEntityName": "keycloak",
"webAuthnPolicyPasswordlessSignatureAlgorithms": [
"ES256"
Expand All @@ -6509,6 +6514,7 @@ data:
"webAuthnPolicyPasswordlessCreateTimeout": 0,
"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyPasswordlessAcceptableAaguids": [],
"webAuthnPolicyPasswordlessExtraOrigins": [],
"scopeMappings": [
{
"clientScope": "offline_access",
Expand Down Expand Up @@ -8458,7 +8464,7 @@ data:
"cibaInterval": "5",
"frontendUrl": ""
},
"keycloakVersion": "22.0.1",
"keycloakVersion": "23.0.1",
"userManagedAccessAllowed": false,
"clientProfiles": {
"profiles": []
Expand Down Expand Up @@ -8666,7 +8672,7 @@ spec:
containers:
- name: keycloak
image: keycloak-placeholder
args: ["start --import-realm"]
args: "start --import-realm"
env:
- name: KEYCLOAK_ADMIN
value: "admin"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2499,7 +2499,7 @@ data:
"cibaInterval": "5",
"frontendUrl": ""
},
"keycloakVersion": "22.0.1",
"keycloakVersion": "23.0.1",
"userManagedAccessAllowed": false,
"clientProfiles": {
"profiles": []
Expand Down
2 changes: 1 addition & 1 deletion generators/kubernetes/templates/keycloak/keycloak.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
containers:
- name: keycloak
image: <%- dockerContainers.keycloak %>
args: ["start --import-realm"]
args: "start --import-realm"
env:
- name: KEYCLOAK_ADMIN
value: "admin"
Expand Down
2 changes: 1 addition & 1 deletion generators/server/resources/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LABEL ALIAS=consul-config-loader
FROM postgres:16.1
LABEL ALIAS=postgresql

FROM quay.io/keycloak/keycloak:22.0.5
FROM quay.io/keycloak/keycloak:23.0.1
LABEL ALIAS=keycloak

FROM mysql:8.2.0
Expand Down

0 comments on commit 90dbf40

Please sign in to comment.