Skip to content

Commit fa28e56

Browse files
committed
test
1 parent 422b7ca commit fa28e56

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

Makefile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -207,16 +207,9 @@ e2e-test-bgp:
207207
awk '{print $$1}' | xargs -I {} env KUBECONFIG=$(KUBECONFIG_PATH) kubectl label nodes {} cilium-bgp-peering=true --overwrite
208208

209209
# First patch: Add the necessary RBAC permissions
210-
KUBECONFIG=$(KUBECONFIG_PATH) kubectl patch clusterrole ccm-linode-clusterrole --type='json' \
211-
-p='[{\
212-
"op": "add",\
213-
"path": "/rules/-",\
214-
"value": {\
215-
"apiGroups": ["cilium.io"],\
216-
"resources": ["ciliumloadbalancerippools", "ciliumbgppeeringpolicies"],\
217-
"verbs": ["get", "list", "watch", "create", "update", "patch", "delete"]\
218-
}\
219-
}]'
210+
KUBECONFIG=$(KUBECONFIG_PATH) kubectl patch clusterrole ccm-linode-clusterrole --type='json'\
211+
-p='[{"op": "add", "path": "/rules/-", "value": {"apiGroups": ["cilium.io"], "resources": ["ciliumloadbalancerippools", "ciliumbgppeeringpolicies"], "verbs": ["get", "list", "watch", "create", "update", "patch", "delete"]}}]'
212+
220213

221214
# Patch: Append new args to the existing ones
222215
KUBECONFIG=$(KUBECONFIG_PATH) kubectl patch daemonset ccm-linode -n kube-system --type='json' \

0 commit comments

Comments
 (0)