From 7ad3a6baa917859b18414a0a8158cbfba4c85962 Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Wed, 5 May 2021 20:39:10 +0200 Subject: DeletePropagationPolicy changed to background The policy is changed to Background operation which is default for helm application. Later on dedicated parametr will be added to the profile to let it be changed for particular helm chart. Issue-ID: MULTICLOUD-1338 Signed-off-by: Lukasz Rajewski Change-Id: I29978bc39fe6e1d10b0278fe10736ff1b7cc2006 --- src/k8splugin/plugins/service/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/k8splugin/plugins/service') diff --git a/src/k8splugin/plugins/service/plugin.go b/src/k8splugin/plugins/service/plugin.go index 06f4b1d5..ba1decbb 100644 --- a/src/k8splugin/plugins/service/plugin.go +++ b/src/k8splugin/plugins/service/plugin.go @@ -111,7 +111,7 @@ func (p servicePlugin) Delete(resource helm.KubernetesResource, namespace string namespace = "default" } - deletePolicy := metaV1.DeletePropagationForeground + deletePolicy := metaV1.DeletePropagationBackground opts := metaV1.DeleteOptions{ PropagationPolicy: &deletePolicy, } -- cgit 1.2.3-korg