private void cleanUpOldVolumes(boolean deleteAll, ApiClient apiClient, String selector, String namespace) {
		try {
			V1PersistentVolumeClaimHandler pvcHandler = (V1PersistentVolumeClaimHandler) ResourceHandlers
					.getHandlerOf(ResourceKind.PERSISTENT_VOLUME_CLAIM.getKind());

			List<V1PersistentVolumeClaim> pvcItemsList = pvcHandler.getBySelector(apiClient, selector, true, namespace);
			if (pvcItemsList == null || pvcItemsList.isEmpty()) {
				return;
			}
			if (deleteAll) {
				printCleaningMsg();
				deleteAllPVC(pvcHandler, apiClient, namespace, pvcItemsList);
				return;
			}
			Set<String> podsVolumes = KubernetesVolumeUtil.getPodVolumes(apiClient, selector, namespace);

			if (podsVolumes == null || podsVolumes.isEmpty()) {
				printCleaningMsg();
				deleteAllPVC(pvcHandler, apiClient, namespace, pvcItemsList);
				return;
			}
			Set<String> staleVolumes = new HashSet<String>();
			Set<String> stalePVCs = new HashSet<String>();
			pvcItemsList.stream().filter(pvc -> !podsVolumes.contains(pvc.getMetadata().getName())).forEach(pvc -> {
				String pvcName = pvc.getMetadata().getName();
				staleVolumes.add(KubernetesVolumeUtil.getVolumeName(pvc));
				stalePVCs.add(pvcName);
				//				try {
				//					logger.debug("Deleting PVC: {} in namespace: {}", pvcName, namespace);
				//					pvcHandler.delete(apiClient, pvcName, namespace, false);
				//					
				//				} catch (HyscaleException e) {
				//					logger.error("Error while deleting pvc: {}, ignoring", pvcName);
				//				}
			});
			if (!staleVolumes.isEmpty()) {
				WorkflowLogger.persist(DeployerActivity.STALE_VOLUME_DELETION, staleVolumes.toString(), namespace,
						stalePVCs.toString());
			}
		} catch (HyscaleException e) {
			logger.error("Error while cleaning up pvcs, error {}", e.getMessage());
			return;
		}

	}
1. Delete All - based on selector
2. Fetch pods based on selector
Create list of pvc from pods
Fetch pvc based on selector
Delete pvc not found in previous list

@param deleteAll
@param apiClient
@param selector
@param namespace
workflow-controller/controller-service/src/main/java/io/hyscale/controller/hooks/VolumeCleanUpHook.java