Skip to content

Commit 8d1867a

Browse files
fix label nni
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
1 parent 774713d commit 8d1867a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/e2e-reusable-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@ jobs:
508508
run: |
509509
extraNic=$(kubectl get nodenetworkinterface -l network.deckhouse.io/interface-type=NIC -o json | jq -r '.items[] | select(.status.operationalState == "Up") | select(.status.ifName != "eno1" and .status.ifName != "enp1s0") | .metadata.name')
510510
for nic in $extraNic; do
511-
kubectl label nodenetworkinterface $nic nic-group=extra
511+
echo "[INFO] Label nodenetworkinterface $nic nic-group=extra"
512+
kubectl label nodenetworkinterfaces $nic nic-group=extra
512513
done
513514
514515
cat <<'EOF' | kubectl apply -f -

0 commit comments

Comments
 (0)