From 11f4759786d77d20b9073b43cf5db2e65f8bea1b Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Mon, 9 Sep 2024 09:03:37 -0400 Subject: [PATCH] weeder: restart the deployment on restore This change ensures the service is restarted after backup restore to load the new ZK certs. Change-Id: I56e7ab9d3faf4ef02f8f52b287351851b96e259b --- cli/cmd/restore.go | 2 +- doc/reference/CHANGELOG.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/cmd/restore.go b/cli/cmd/restore.go index 65665b3..b84348c 100644 --- a/cli/cmd/restore.go +++ b/cli/cmd/restore.go @@ -145,7 +145,7 @@ func clearComponents(env cliutils.ENV) { }, }) } - for _, depName := range []string{"zuul-web", "nodepool-launcher"} { + for _, depName := range []string{"zuul-web", "zuul-weeder", "nodepool-launcher"} { cliutils.DeleteOrDie(&env, &appsv1.Deployment{ ObjectMeta: metav1.ObjectMeta{ Name: depName, diff --git a/doc/reference/CHANGELOG.md b/doc/reference/CHANGELOG.md index 6b04e0d..2eb7acd 100644 --- a/doc/reference/CHANGELOG.md +++ b/doc/reference/CHANGELOG.md @@ -8,6 +8,9 @@ All notable changes to this project will be documented in this file. ### Removed ### Changed ### Fixed + +- weeder: ensure the service is restarted after backup restore to load the new ZK certs. + ### Security ## [v0.0.40] - 2024-09-09