From a73b42b9c3877f1a34939d85941482f7f5c44db9 Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Mon, 7 Feb 2022 19:34:25 +0100 Subject: Upgrade handler implementation Implementation of the upgrade handler for the instance. As a result, exsting instance is modified, resources upated and lefovers removed from the cluster. Issue-ID: MULTICLOUD-1444 Signed-off-by: Lukasz Rajewski Change-Id: I4122ee12d9332eaeb5ee016446b3da2bbe94bd2d --- src/k8splugin/internal/app/config_backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/k8splugin/internal/app/config_backend.go') diff --git a/src/k8splugin/internal/app/config_backend.go b/src/k8splugin/internal/app/config_backend.go index 4dcbeb57..80230896 100644 --- a/src/k8splugin/internal/app/config_backend.go +++ b/src/k8splugin/internal/app/config_backend.go @@ -558,7 +558,7 @@ func scheduleResources(c chan configResourceList) { var status string = "" if err != nil { // assuming - the err represent the resource already exist, so going for update - resProceeded, err = k8sClient.updateResources(resToCreateOrUpdate, inst.Namespace) + resProceeded, err = k8sClient.updateResources(resToCreateOrUpdate, inst.Namespace, false) if err != nil { log.Printf("Error Creating resources: %s", errCreate.Error()) log.Printf("Error Updating resources: %s", err.Error()) -- cgit 1.2.3-korg