Skip to content

Commit

Permalink
Merge pull request #24403 from theycallmeducks/upgrade-keycloak-23.0.1
Browse files Browse the repository at this point in the history
Upgrade to Keycloak 23
  • Loading branch information
vishal423 authored Dec 3, 2023
2 parents 172f6c5 + 5c5484e commit 53e574c
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ jhipster:
- CONSUL_PORT=8500
keycloak:
image: keycloak-placeholder
command: ['start-dev --import-realm']
command: 'start-dev --import-realm'
volumes:
- ./realm-config:/opt/keycloak/data/import
- ./realm-config/keycloak-health-check.sh:/opt/keycloak/health-check.sh
Expand Down
2 changes: 1 addition & 1 deletion generators/docker-compose/templates/docker-compose.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ services:
<%_ if (usesOauth2) { _%>
keycloak:
image: <%- dockerContainers.keycloak %>
command: ['start-dev --import-realm']
command: 'start-dev --import-realm'
volumes:
- ./realm-config:/opt/keycloak/data/import
- ./realm-config/keycloak-health-check.sh:/opt/keycloak/health-check.sh
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 @@ -2578,7 +2581,7 @@
"frontendUrl": "",
"acr.loa.map": "[]"
},
"keycloakVersion": "22.0.1",
"keycloakVersion": "23.0.1",
"userManagedAccessAllowed": false,
"clientProfiles": {
"profiles": []
Expand Down
2 changes: 1 addition & 1 deletion generators/docker/templates/docker/keycloak.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ name: <%= baseName.toLowerCase() %>
services:
keycloak:
image: <%- dockerContainers.keycloak %>
command: ['start-dev --import-realm']
command: 'start-dev --import-realm'
volumes:
- ./realm-config:/opt/keycloak/data/import
- ./realm-config/keycloak-health-check.sh:/opt/keycloak/health-check.sh
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 @@ -469,6 +469,7 @@ data:
"FreeOTP",
"Google Authenticator"
],
"localizationTexts": {},
"webAuthnPolicyRpEntityName": "keycloak",
"webAuthnPolicySignatureAlgorithms": [
"ES256"
Expand All @@ -481,6 +482,7 @@ data:
"webAuthnPolicyCreateTimeout": 0,
"webAuthnPolicyAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyAcceptableAaguids": [],
"webAuthnPolicyExtraOrigins": [],
"webAuthnPolicyPasswordlessRpEntityName": "keycloak",
"webAuthnPolicyPasswordlessSignatureAlgorithms": [
"ES256"
Expand All @@ -493,6 +495,7 @@ data:
"webAuthnPolicyPasswordlessCreateTimeout": 0,
"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyPasswordlessAcceptableAaguids": [],
"webAuthnPolicyPasswordlessExtraOrigins": [],
"scopeMappings": [
{
"clientScope": "offline_access",
Expand Down Expand Up @@ -2499,7 +2502,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 53e574c

Please sign in to comment.