Skip to content

Commit bf4ed94

Browse files
committed
Adding right kubeconfig path for patchs in Makefile
1 parent 275cfc0 commit bf4ed94

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
@@ -197,7 +197,7 @@ e2e-test:
197197

198198
.PHONY: e2e-test-bgp
199199
e2e-test-bgp:
200-
kubectl -n kube-system patch daemonset ccm-linode --patch '\
200+
KUBECONFIG=$(KUBECONFIG_PATH) kubectl -n kube-system patch daemonset ccm-linode --patch '\
201201
spec:\
202202
template:\
203203
spec:\
@@ -215,7 +215,7 @@ e2e-test-bgp:
215215
- --load-balancer-type=cilium-bgp\
216216
- --bgp-node-selector=cilium-bgp-peering=true\
217217
- --ip-holder-suffix=e2e-test
218-
kubectl patch clusterrole ccm-linode-clusterrole --type='json' \
218+
KUBECONFIG=$(KUBECONFIG_PATH) kubectl patch clusterrole ccm-linode-clusterrole --type='json' \
219219
-p='[{\
220220
"op": "add",\
221221
"path": "/rules/-",\

0 commit comments

Comments
 (0)