Explorar o código

adding ability to interact with network resources.

Shawn Hurley %!s(int64=7) %!d(string=hai) anos
pai
achega
1f883c5075
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      roles/ansible_service_broker/tasks/install.yml

+ 6 - 0
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: