summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-07-13 12:28:11 -0500
committerewolinetz <ewolinet@redhat.com>2017-07-13 12:33:27 -0500
commita8f481ac78fed3c181764d40dd29b4805402a6e7 (patch)
tree2c6b7eefda71be31b8df2af10da0da4914b8a7c8
parent50e12bfd81d25be41748dd11676ce369352587c7 (diff)
downloadopenshift-a8f481ac78fed3c181764d40dd29b4805402a6e7.tar.gz
openshift-a8f481ac78fed3c181764d40dd29b4805402a6e7.tar.bz2
openshift-a8f481ac78fed3c181764d40dd29b4805402a6e7.tar.xz
openshift-a8f481ac78fed3c181764d40dd29b4805402a6e7.zip
making kube-service-catalog project network global when using redhat/openshift-ovs-multitenant plugin
-rw-r--r--roles/openshift_service_catalog/tasks/install.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_service_catalog/tasks/install.yml b/roles/openshift_service_catalog/tasks/install.yml
index 1342c3d30..1f9ecc2b8 100644
--- a/roles/openshift_service_catalog/tasks/install.yml
+++ b/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: