summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Hurley <shawn.hurley21@gmail.com>2018-01-05 14:12:45 -0500
committerShawn Hurley <shawn.hurley21@gmail.com>2018-01-05 14:12:45 -0500
commitd11b05456ab1b35708fa23269ec861dd7980923e (patch)
tree64c38a884e9d742ab5eb7f0c623cd554b12544d7
parent1f883c50759767a4bc4fdbfb04e9fdada6790cbf (diff)
downloadopenshift-d11b05456ab1b35708fa23269ec861dd7980923e.tar.gz
openshift-d11b05456ab1b35708fa23269ec861dd7980923e.tar.bz2
openshift-d11b05456ab1b35708fa23269ec861dd7980923e.tar.xz
openshift-d11b05456ab1b35708fa23269ec861dd7980923e.zip
adding ability to add network policy objects.
-rw-r--r--roles/ansible_service_broker/tasks/install.yml3
1 files changed, 3 insertions, 0 deletions
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: