Resolve "Perform multiple helm and kubectl clean up in one call"
What does this MR do?
- Accept multiple release names in
Quality::HelmClient
andQuality::KubernetesClient
-
automated_cleanup.rb
accumulates releases to be cleaned up before executing them
Closes #34838 (closed)
Does this MR meet the acceptance criteria?
Tested the kubectl
selector in minikube
$ kubectl get deploy | grep busy
busy-1 0/1 1 0 27s
busy-2 0/1 1 0 22s
$ kubectl delete all -l 'release in (busy-1, busy-2)'
pod "busy-1-7fcc679c55-jgqkt" deleted
pod "busy-2-5c8b9d5f65-hz4mx" deleted
deployment.apps "busy-1" deleted
deployment.apps "busy-2" deleted
replicaset.apps "busy-1-7fcc679c55" deleted
replicaset.apps "busy-2-5c8b9d5f65" deleted
Conformity
- [-] Changelog entry
- [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
Edited by Albert Salim