From 3c3e0b035279814f1dd2f748bc95e2840bed4f46 Mon Sep 17 00:00:00 2001 From: Martynas Pumputis Date: Sun, 22 Oct 2017 19:32:52 +0200 Subject: [PATCH] Enable access to "networkpolicies" of "networking.k8s.io" API group Since 1.7, k8s netpol is no longer in beta, so NPC can start subscribing from the non-beta API group. --- prog/weave-kube/weave-daemonset-k8s-1.7.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/prog/weave-kube/weave-daemonset-k8s-1.7.yaml b/prog/weave-kube/weave-daemonset-k8s-1.7.yaml index dad670b3..724cefa6 100644 --- a/prog/weave-kube/weave-daemonset-k8s-1.7.yaml +++ b/prog/weave-kube/weave-daemonset-k8s-1.7.yaml @@ -33,6 +33,14 @@ items: - get - list - watch + - apiGroups: + - 'networking.k8s.io' + resources: + - networkpolicies + verbs: + - get + - list + - watch - apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: