@Override
	public void preHook(WorkflowContext context) throws HyscaleException {
		String manifestDir = manifestConfig.getManifestDir(context.getAppName(), context.getServiceName());
		String absManifestDir = SetupConfig.getMountPathOf(manifestDir);
		logger.debug("Cleaning up manifests directory {}", absManifestDir);
		HyscaleFilesUtil.clearDirectory(absManifestDir);
		logger.debug("Manifest directory cleaned");
	}
Hook to clean up old manifests
workflow-controller/controller-service/src/main/java/io/hyscale/controller/hooks/ManifestCleanUpHook.java