summaryrefslogtreecommitdiffstats
path: root/kud/tests/sriov.sh
diff options
context:
space:
mode:
authorTodd Malsbary <todd.malsbary@intel.com>2021-03-19 15:07:32 -0700
committerTodd Malsbary <todd.malsbary@intel.com>2021-05-04 13:14:30 -0700
commit7fc924c09cf751c82fdd532ab0d3799395a1893b (patch)
tree4736eea20b4ed7360c4eb4acec7a5d7d8cff57d0 /kud/tests/sriov.sh
parentc7cc63c3e76d5739c67314008b01f6fe70289641 (diff)
Add sriov-network addon helm chart
This chart deploys the CR used by the sriov-network-operator. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I9364868d3e58fd64e51a77aaa934284fad86a1b1
Diffstat (limited to 'kud/tests/sriov.sh')
-rwxr-xr-xkud/tests/sriov.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kud/tests/sriov.sh b/kud/tests/sriov.sh
index e617ea62..7aa97f0c 100755
--- a/kud/tests/sriov.sh
+++ b/kud/tests/sriov.sh
@@ -10,7 +10,7 @@
set -o pipefail
-sriov_capable_nodes=$(kubectl get nodes -o json | jq -r '.items[] | select(.status.capacity."intel.com/intel_sriov_700">="2") | .metadata.name')
+sriov_capable_nodes=$(kubectl get nodes -o json | jq -r '.items[] | select((.status.capacity."intel.com/intel_sriov_700"|tonumber)>=2) | .metadata.name')
if [ -z "$sriov_capable_nodes" ]; then
echo "SRIOV test case cannot run on the cluster."
exit 0