Skip to content

Commit 827b153

Browse files
committed
fix?
1 parent fce1d2a commit 827b153

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ e2e-test-bgp:
203203
grep -v control-plane | awk '{print $$1}'
204204

205205
# Add bgp peering label to non control plane nodes
206-
KUBECONFIG=$(KUBECONFIG_PATH) kubectl label nodes $$(kubectl get nodes --no-headers |\
207-
grep -v control-plane | awk '{print $$1}' | paste -sd " " -) cilium-bgp-peering=true --overwrite
206+
KUBECONFIG=$(KUBECONFIG_PATH) kubectl get nodes --no-headers | grep -v control-plane |\
207+
awk '{print $1}' | xargs -I {} kubectl label nodes {} cilium-bgp-peering=true --overwrite
208208

209209
# First patch: Add the necessary RBAC permissions
210210
KUBECONFIG=$(KUBECONFIG_PATH) kubectl patch clusterrole ccm-linode-clusterrole --type='json' \

0 commit comments

Comments
 (0)