Browse Source

making kube-service-catalog project network global when using redhat/openshift-ovs-multitenant plugin

ewolinetz 7 years ago
parent
commit
a8f481ac78
1 changed files with 5 additions and 0 deletions
  1. 5 0
      roles/openshift_service_catalog/tasks/install.yml

+ 5 - 0
roles/openshift_service_catalog/tasks/install.yml

@@ -25,6 +25,11 @@
     name: "kube-service-catalog"
 #    node_selector: "{{ openshift_service_catalog_nodeselector | default(null) }}"
 
+- name: Make kube-service-catalog project network global
+  command: >
+    oc adm pod-network make-projects-global kube-service-catalog
+  when: os_sdn_network_plugin_name | default('') == 'redhat/openshift-ovs-multitenant'
+
 - include: generate_certs.yml
 
 - copy: