From c0fc2d445a4dbaf7806f18d02f493d8dd8f8519a Mon Sep 17 00:00:00 2001 From: Ben Eli Date: Thu, 11 Jan 2024 11:03:30 +0100 Subject: [PATCH] Fix the CLI upgrade option by adding a missing namespace field to the system's YAML (#1285) Signed-off-by: Ben --- pkg/system/system.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/system/system.go b/pkg/system/system.go index 606a13cdd..3805fa47a 100644 --- a/pkg/system/system.go +++ b/pkg/system/system.go @@ -445,6 +445,7 @@ func RunUpgrade(cmd *cobra.Command, args []string) { if options.NooBaaImage != "" { image := options.NooBaaImage sys.Spec.Image = &image + sys.Namespace = options.Namespace } util.KubeApply(sys) }