Skip to content

Commit

Permalink
add restart_server func again
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Apr 29, 2025
1 parent 08b1073 commit 83184cb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config_job.tf
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,13 @@ 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

0 comments on commit 83184cb

Please sign in to comment.