aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/plugins/generic
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2021-05-05 20:39:10 +0200
committerLukasz Rajewski <lukasz.rajewski@orange.com>2021-05-05 21:32:32 +0200
commit7ad3a6baa917859b18414a0a8158cbfba4c85962 (patch)
tree9e2ba251ba577329dd8e2835bb907ceeebbf2f08 /src/k8splugin/plugins/generic
parente8b026c82e813dd275064b24b0af0ae5f2e89ffb (diff)
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 <lukasz.rajewski@orange.com> Change-Id: I29978bc39fe6e1d10b0278fe10736ff1b7cc2006
Diffstat (limited to 'src/k8splugin/plugins/generic')
-rw-r--r--src/k8splugin/plugins/generic/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/plugins/generic/plugin.go b/src/k8splugin/plugins/generic/plugin.go
index 5f73ad22..f38fee78 100644
--- a/src/k8splugin/plugins/generic/plugin.go
+++ b/src/k8splugin/plugins/generic/plugin.go
@@ -212,7 +212,7 @@ func (g genericPlugin) Delete(resource helm.KubernetesResource, namespace string
}
gvr := mapping.Resource
- deletePolicy := metav1.DeletePropagationForeground
+ deletePolicy := metav1.DeletePropagationBackground
opts := metav1.DeleteOptions{
PropagationPolicy: &deletePolicy,
}