private boolean validateStorageClass(List<Volume> volumeList) {
		List<String> defaultStorageClass = getDefaultStorageClass();
		Set<String> storageClassAllowed = storageClassList.stream().map(each -> each.getMetadata().getName())
				.collect(Collectors.toSet());
		logger.debug("Allowed Storage classes are : {}", storageClassAllowed);
		boolean isFailed = false;
		DeployerErrorCodes errorCode = null;
		StringBuilder failMsgBuilder = new StringBuilder();
		for (Volume volume : volumeList) {
			String storageClass = volume.getStorageClass();
			if (storageClass == null && isInvalidDefaultStorageClass(defaultStorageClass)) {
			    isFailed = true;
			    if (defaultStorageClass == null || defaultStorageClass.isEmpty()) {
			        errorCode = DeployerErrorCodes.MISSING_DEFAULT_STORAGE_CLASS;
			    } else {
			        errorCode = DeployerErrorCodes.MISSING_UNIQUE_DEFAULT_STORAGE_CLASS;
			    }
			    failMsgBuilder.append(volume.getName());
			    failMsgBuilder.append(ToolConstants.COMMA);
			}
			if (storageClass != null && !storageClassAllowed.contains(storageClass)) {
				isFailed = true;
				errorCode = DeployerErrorCodes.INVALID_STORAGE_CLASS_FOR_VOLUME;
				failMsgBuilder.append(storageClass).append(" in volume ").append(volume.getName());
				failMsgBuilder.append(ToolConstants.COMMA);
			}
		}
		if (isFailed) {
			String failMsg = HyscaleStringUtil.removeSuffixStr(failMsgBuilder, ToolConstants.COMMA);
			failMsg = new HyscaleException(errorCode, failMsg, storageClassAllowed.toString()).getMessage();
			WorkflowLogger.persist(ValidatorActivity.VOLUME_VALIDATION_FAILED, LoggerTags.ERROR, failMsg);
			if(WorkflowLogger.isDisabled()){
				outputHandler.addErrorMessage(ValidatorActivity.VOLUME_VALIDATION_FAILED.getActivityMessage(),failMsg);
			}
            logger.info("StroageClass validation failed. Message : {}", failMsg);
            return false;
		}
		return true;
	}
Validate Storage class
Checks for the following conditions in the cluster and fails when
<ol>
<li>There are no storage classes</li>
<li>No storage class is defined & default storage class does not exist in the cluster</li>
<li>Provided storage class does not exist in cluster</li>
</ol>

@param volumeList
workflow-controller/controller-service/src/main/java/io/hyscale/controller/validator/impl/VolumeValidator.java