Skip to content

Commit

Permalink
Fixed multus and go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Konkol committed Nov 10, 2022
1 parent 1db8260 commit 48b81f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions scripts/e2e_get_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ curl -Lo "${root}/bin/kubectl" "https://storage.googleapis.com/kubernetes-releas
chmod +x "${root}/bin/kubectl"

export PATH="$PATH:$root/bin"

set +o errexit
2 changes: 2 additions & 0 deletions scripts/e2e_setup_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ retry kubectl -n kube-system wait --for=condition=available deploy/coredns --tim

echo "## Install multus"
retry kubectl create -f "${MULTUS_DAEMONSET_URL}"
# temporary fix as multus :stable image blocks the pod in "ConteinerCreating" state
kubectl patch ds kube-multus-ds -n kube-system --type='json' -p='[{"op": "replace","path": "/spec/template/spec/containers/0/image", "value":"ghcr.io/k8snetworkplumbingwg/multus-cni:latest"}]'
retry kubectl -n kube-system wait --for=condition=ready -l name="${MULTUS_NAME}" pod --timeout="${TIMEOUT}"s

echo "## find KinD container"
Expand Down
2 changes: 1 addition & 1 deletion test/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Scripts that creates cluster has to be sourced because they are exporting enviro
### How to teardown cluster

```
$ ./scripts/e2e_teardown.sh
$ ./scripts/e2e_teardown_cluster.sh
```

### Current test cases
Expand Down

0 comments on commit 48b81f3

Please sign in to comment.