Skip to content

Commit

Permalink
gha test 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ykim-akamai committed Jun 12, 2024
1 parent 14d4a0e commit 785f9ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/lke_calico_rules_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ for ID in $CLUSTER_IDS; do
export KUBECONFIG="$(pwd)/${ID}_config.yaml"

echo "Applying Calico Rules to Nodes:"
./kubectl get nodes
kubectl get nodes

./calicoctl-linux-amd64 patch kubecontrollersconfiguration default --patch='{"spec": {"controllers": {"node": {"hostEndpoint": {"autoCreate": "Enabled"}}}}}'
calicoctl patch kubecontrollersconfiguration default --patch='{"spec": {"controllers": {"node": {"hostEndpoint": {"autoCreate": "Enabled"}}}}}'

./calicoctl-linux-amd64 apply -f "$(pwd)/lke-policy.yaml"
calicoctl apply -f "$(pwd)/lke-policy.yaml"
done

0 comments on commit 785f9ec

Please sign in to comment.