Install updated weave CNI plugin for our vagrant environment
@@ -45,7 +45,8 @@ done
set -e
if [ "$NETWORK_PROVIDER" == "weave" ]; then
- kubectl apply -f https://github.com/weaveworks/weave/releases/download/v1.9.4/weave-daemonset-k8s-1.6.yaml
+ kubever=$(kubectl version | base64 | tr -d '\n')
+ kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$kubever"
else
kubectl create -f kube-$NETWORK_PROVIDER.yaml
fi
