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.
This commit is contained in:
Martynas Pumputis committed 2017-10-22 19:32:52 +02:00
1 parent 8467742d6d
commit 3c3e0b0352
1 file changed
+8
@@ -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: