summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2016-11-16 10:55:08 -0500
committerGitHub <noreply@github.com>2016-11-16 10:55:08 -0500
commitd71fa60f733c987074258b6a9919d2d61ffbae5a (patch)
tree26b6f84398fb80a1269073cec8a1a00e6017d468 /roles/openshift_node
parent05d8ad250cc6b8ebc6d6c61f312e69e0dccf49b5 (diff)
parent0f10854a7d6f5a93cc9cbcc922c7157ed712df54 (diff)
downloadopenshift-d71fa60f733c987074258b6a9919d2d61ffbae5a.tar.gz
openshift-d71fa60f733c987074258b6a9919d2d61ffbae5a.tar.bz2
openshift-d71fa60f733c987074258b6a9919d2d61ffbae5a.tar.xz
openshift-d71fa60f733c987074258b6a9919d2d61ffbae5a.zip
Merge pull request #2763 from yfauser/byo_cni_plugin_fixes
[#2698] Change to allow cni deployments without openshift SDN
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/templates/node.yaml.v1.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_node/templates/node.yaml.v1.j2 b/roles/openshift_node/templates/node.yaml.v1.j2
index 9bcaf4d84..55ae4bf54 100644
--- a/roles/openshift_node/templates/node.yaml.v1.j2
+++ b/roles/openshift_node/templates/node.yaml.v1.j2
@@ -27,7 +27,7 @@ networkPluginName: {{ openshift.common.sdn_network_plugin_name }}
# deprecates networkPluginName above. The two should match.
networkConfig:
mtu: {{ openshift.node.sdn_mtu }}
-{% if openshift.common.use_openshift_sdn | bool or openshift.common.use_nuage | bool %}
+{% if openshift.common.use_openshift_sdn | bool or openshift.common.use_nuage | bool or openshift.common.sdn_network_plugin_name == 'cni' %}
networkPluginName: {{ openshift.common.sdn_network_plugin_name }}
{% endif %}
{% if openshift.node.set_node_ip | bool %}