Add NetworkPolicies resources to kuryr's CR
This commit adds resources required by NetworkPolicies support to
kuryr-controller ClusterRole. Without that we couldn't access them in
containerized deployments.
Closes-Bug:
@@ -512,6 +512,14 @@ rules:
verbs: ["*"]
resources:
- kuryrnets
+ - kuryrnetpolicies
+- apiGroups: ["networking.k8s.io"]
+ resources:
+ - networkpolicies
+ verbs:
+ - get
+ - list
+ - watch
- apiGroups: ["k8s.cni.cncf.io"]
resources:
- network-attachment-definitions
