From d513e68fabfe112fbc398761af922dbb6d942947 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 21 Jun 2018 11:08:24 +0000 Subject: [PATCH] Add permissions to set node status This is needed to update the node NetworkUnavailable conditon see https://github.com/weaveworks/weave/issues/3249 --- prog/weave-kube/weave-daemonset-k8s-1.7.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/prog/weave-kube/weave-daemonset-k8s-1.7.yaml b/prog/weave-kube/weave-daemonset-k8s-1.7.yaml index 7fe121ade4..301e67ab26 100644 --- a/prog/weave-kube/weave-daemonset-k8s-1.7.yaml +++ b/prog/weave-kube/weave-daemonset-k8s-1.7.yaml @@ -41,6 +41,13 @@ items: - get - list - watch + - apiGroups: + - '' + resources: + - nodes/status + verbs: + - patch + - update - apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: