From d11b05456ab1b35708fa23269ec861dd7980923e Mon Sep 17 00:00:00 2001 From: Shawn Hurley Date: Fri, 5 Jan 2018 14:12:45 -0500 Subject: adding ability to add network policy objects. --- roles/ansible_service_broker/tasks/install.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles') diff --git a/roles/ansible_service_broker/tasks/install.yml b/roles/ansible_service_broker/tasks/install.yml index 52e20a72e..09f7756d3 100644 --- a/roles/ansible_service_broker/tasks/install.yml +++ b/roles/ansible_service_broker/tasks/install.yml @@ -78,6 +78,9 @@ - apiGroups: ["network.openshift.io"] resources: ["netnamespaces"] verbs: ["update"] + - apiGroups: ["networking.k8s.io"] + resources: ["networkpolicies"] + verbs: ["create", "delete"] - name: Create asb-access cluster role oc_clusterrole: -- cgit v1.2.3