diff options
Diffstat (limited to 'src/k8splugin')
-rw-r--r-- | src/k8splugin/plugins/generic/plugin.go | 2 | ||||
-rw-r--r-- | src/k8splugin/plugins/namespace/plugin.go | 2 | ||||
-rw-r--r-- | src/k8splugin/plugins/service/plugin.go | 2 |
3 files changed, 3 insertions, 3 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, } diff --git a/src/k8splugin/plugins/namespace/plugin.go b/src/k8splugin/plugins/namespace/plugin.go index 59defa36..851a5568 100644 --- a/src/k8splugin/plugins/namespace/plugin.go +++ b/src/k8splugin/plugins/namespace/plugin.go @@ -65,7 +65,7 @@ func (p namespacePlugin) Get(resource helm.KubernetesResource, namespace string, // Delete an existing namespace hosted in a specific Kubernetes cluster func (p namespacePlugin) Delete(resource helm.KubernetesResource, namespace string, client plugin.KubernetesConnector) error { - deletePolicy := metaV1.DeletePropagationForeground + deletePolicy := metaV1.DeletePropagationBackground opts := metaV1.DeleteOptions{ PropagationPolicy: &deletePolicy, } 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, } |