From 83184cb1b0d0a8224f66d198062991c353107e04 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Mon, 28 Apr 2025 21:07:01 -0400 Subject: [PATCH] add restart_server func again --- config_job.tf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config_job.tf b/config_job.tf index e4f1f8f..e2dadd8 100644 --- a/config_job.tf +++ b/config_job.tf @@ -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"