Update missing kubever on weave network (#8560)

```
$ export kubever=$(kubectl version | base64 | tr -d '
> ')
$ kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version="
error: unable to read URL "https://cloud.weave.works/k8s/net?k8s-version=", server reported 400 Bad Request, status code=400
```
```
$ kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$kubever"
serviceaccount "weave-net" created
clusterrole.rbac.authorization.k8s.io "weave-net" created
clusterrolebinding.rbac.authorization.k8s.io "weave-net" created
role.rbac.authorization.k8s.io "weave-net" created
rolebinding.rbac.authorization.k8s.io "weave-net" created
daemonset.extensions "weave-net" created
```
pull/8563/head
nhanpc 2018-05-16 12:32:28 +07:00 committed by k8s-ci-robot
parent 53d2e174d7
commit 6b1ac1285b
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ if they don't know their PodIP.
```shell
export kubever=$(kubectl version | base64 | tr -d '
')
kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version="
kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$kubever"
```
{{% /tab %}}
{{< /tabs >}}