Skip to content

Commit

Permalink
Review comments: unnecessary function call
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbins228 committed May 13, 2024
1 parent ceff46c commit 15efb6a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ all-in-one:
.PHONY: delete-all-in-one
delete-all-in-one:
@echo -e "\n ==> Removing Everything needed for distributed AI platform on OpenShift cluster \n"
-make delete-rhoai
-make delete-nfd-operator
-make delete-nvidia-operator
-make delete-ai-platform-operator
Expand All @@ -438,15 +437,15 @@ endif

.PHONY: delete-rhoai-operator
delete-rhoai-operator: ## Delete RHOAI Operator
@echo -e "\n==> Deleting OpenShift AI Operator \n"
@echo -e "\n ==> Deleting OpenShift AI Operator \n"
-kubectl delete subscription rhods-operator -n redhat-ods-operator
-export CLUSTER_SERVICE_VERSION=`kubectl get clusterserviceversion -n redhat-ods-operator -l operators.coreos.com/rhods-operator.redhat-ods-operator -o custom-columns=:metadata.name`; \
kubectl delete clusterserviceversion $$CLUSTER_SERVICE_VERSION -n redhat-ods-operator
kubectl delete namespace redhat-ods-operator

.PHONY: install-rhoai-operator
install-rhoai-operator: ## Install RHOAI Operator
@echo -e "\n==> Installing OpenShift AI Operator \n"
@echo -e "\n ==> Installing OpenShift AI Operator \n"
-kubectl create ns redhat-ods-operator
kubectl create -f contrib/configuration/rhoai/rhoai-operator-subscription.yaml
@echo Waiting for rhoai-operator Subscription to be ready
Expand Down

0 comments on commit 15efb6a

Please sign in to comment.