Skip to content

Commit

Permalink
Fixed NFD
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbins228 committed May 14, 2024
1 parent 148bd29 commit a02e07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ install-nfd-operator: ## Install NFD operator ( Node Feature Discovery )
@echo -e "\n==> Creating default NodeFeatureDiscovery CR \n"
@while [[ -z $$(kubectl get customresourcedefinition nodefeaturediscoveries.nfd.openshift.io) ]]; do echo "."; sleep 10; done
@while [[ -z $$(kubectl get csv -n openshift-nfd --selector operators.coreos.com/nfd.openshift-nfd) ]]; do echo "."; sleep 10; done
kubectl get csv -n openshift-nfd --selector operators.coreos.com/nfd.openshift-nfd -ojsonpath={.items[0].metadata.annotations.alm-examples} | jq '.[] | select(.kind=="NodeFeatureDiscovery")' | kubectl apply -f -
kubectl get csv -n openshift-nfd --selector operators.coreos.com/nfd.openshift-nfd -ojsonpath={.items[0].metadata.annotations.alm-examples} | jq '.[] | select(.kind=="NodeFeatureDiscovery")' | kubectl apply -f - --validate=false

.PHONY: delete-nfd-operator
delete-nfd-operator: ## Delete NFD operator
Expand Down

0 comments on commit a02e07d

Please sign in to comment.