update weave-net to 2.0.5 version (#1877)

This commit is contained in:
Aivars Sterns
2017-11-13 18:11:47 +02:00
committed by Matthew Mosesohn
parent 5f39efcdfd
commit 5e558c361b
2 changed files with 9 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ items:
labels:
name: weave-net
namespace: {{ system_namespace }}
- apiVersion: rbac.authorization.k8s.io/v1beta1
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: weave-net
@@ -34,7 +34,7 @@ items:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1beta1
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: weave-net
@@ -114,6 +114,9 @@ items:
mountPath: /host/var/lib/dbus
- name: lib-modules
mountPath: /lib/modules
- name: xtables-lock
mountPath: /run/xtables.lock
readOnly: false
- name: weave-npc
image: {{ weave_npc_image_repo }}:{{ weave_npc_image_tag }}
imagePullPolicy: Always
@@ -154,6 +157,9 @@ items:
- name: lib-modules
hostPath:
path: /lib/modules
- name: xtables-lock
hostPath:
path: /run/xtables.lock
updateStrategy:
rollingUpdate:
maxUnavailable: {{ serial | default('20%') }}