summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Hurley <shawn.hurley21@gmail.com>2017-12-19 12:29:57 -0500
committerShawn Hurley <shawn.hurley21@gmail.com>2017-12-20 11:42:36 -0500
commit1f883c50759767a4bc4fdbfb04e9fdada6790cbf (patch)
treee1482cd0488cd51620be662a1c4ebb5548fac31c
parenta5de165b8e7113631a30ef0e4a20b5f74db073f0 (diff)
downloadopenshift-1f883c50759767a4bc4fdbfb04e9fdada6790cbf.tar.gz
openshift-1f883c50759767a4bc4fdbfb04e9fdada6790cbf.tar.bz2
openshift-1f883c50759767a4bc4fdbfb04e9fdada6790cbf.tar.xz
openshift-1f883c50759767a4bc4fdbfb04e9fdada6790cbf.zip
adding ability to interact with network resources.
-rw-r--r--roles/ansible_service_broker/tasks/install.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/ansible_service_broker/tasks/install.yml b/roles/ansible_service_broker/tasks/install.yml
index 4ca47d074..52e20a72e 100644
--- a/roles/ansible_service_broker/tasks/install.yml
+++ b/roles/ansible_service_broker/tasks/install.yml
@@ -72,6 +72,12 @@
- apiGroups: ["image.openshift.io", ""]
resources: ["images"]
verbs: ["get", "list"]
+ - apiGroups: ["network.openshift.io"]
+ resources: ["clusternetworks", "netnamespaces"]
+ verbs: ["get"]
+ - apiGroups: ["network.openshift.io"]
+ resources: ["netnamespaces"]
+ verbs: ["update"]
- name: Create asb-access cluster role
oc_clusterrole: