Skip to content

Commit b778406

Browse files
authored
Merge pull request #608 from soukron/feature/disable-storage-class-requirement
Update Makefile to reflect a warning if no storageclass is present
2 parents 7a17712 + 7b65170 commit b778406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ validate-cluster: ## Do some cluster validations before installing
143143
@oc cluster-info >/dev/null && echo "OK" || (echo "Error"; exit 1)
144144
@echo -n " storageclass: "
145145
@if [ `oc get storageclass -o go-template='{{printf "%d\n" (len .items)}}'` -eq 0 ]; then\
146-
echo "None Found"; exit 1;\
146+
echo "WARNING: No storageclass found";\
147147
else\
148148
echo "OK";\
149149
fi

0 commit comments

Comments
 (0)