When you use the HelmBlueGreenCleanup native step in a pipeline, it performs the below functions in the background. For more information about HelmBlueGreenCleanup Pipeline steps, see HelmBlueGreenCleanup.
restore_pipeline_files (restores referenced HelmBlueGreenDeploy step configuration)
kubectl get service (fetch Live Services to read annotations and discover current Idle environment)
helm status (check if Idle release exists)
helm uninstall (if Idle release is present)