diff --git a/config_job.tf b/config_job.tf index e2dadd8..b173e0d 100644 --- a/config_job.tf +++ b/config_job.tf @@ -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" @@ -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