Skip to content

Commit

Permalink
remove restart
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Apr 29, 2025
1 parent 83184cb commit c301b1e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions config_job.tf
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,6 @@ GRANT
return 0
}
# Restart Keycloak server
function restart_server {
echo "Restarting Keycloak server..."
kubectl rollout restart deployment/keycloak-keycloakx -n ${kubernetes_namespace.keycloak.metadata[0].name}
echo "Keycloak restarted and scaled"
}
# Start configuration process
echo "Starting configuration process"
Expand Down Expand Up @@ -296,10 +289,6 @@ GRANT
"realm roles" "openid-connect" "oidc-usermodel-realm-role-mapper" \
"{ \"multivalued\": \"true\", \"userinfo.token.claim\": \"true\", \"user.attribute\": \"foo\", \"id.token.claim\": \"true\", \"access.token.claim\": \"true\", \"claim.name\": \"realm_access.roles\", \"jsonType.label\": \"String\" }"
# Step 7: Restart server
echo "Step 7: Restarting server"
restart_server
echo "Keycloak configuration completed successfully"
return 0
Expand Down

0 comments on commit c301b1e

Please sign in to comment.