diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-11-24 14:06:12 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-11-24 14:06:12 -0500 |
commit | 42232eb59cc3c6ae5d4733b6655add0aff23217b (patch) | |
tree | 0d3de9588c0fa5c4ea764b2b3ae93d13dea19b8f /roles/openshift_node/templates | |
parent | cb3da200563684c15d3a65cb2bf3958b9a34b249 (diff) | |
download | openshift-42232eb59cc3c6ae5d4733b6655add0aff23217b.tar.gz openshift-42232eb59cc3c6ae5d4733b6655add0aff23217b.tar.bz2 openshift-42232eb59cc3c6ae5d4733b6655add0aff23217b.tar.xz openshift-42232eb59cc3c6ae5d4733b6655add0aff23217b.zip |
Conditionally set the nodeIP
Diffstat (limited to 'roles/openshift_node/templates')
-rw-r--r-- | roles/openshift_node/templates/node.yaml.v1.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_node/templates/node.yaml.v1.j2 b/roles/openshift_node/templates/node.yaml.v1.j2 index 7d2f506e3..41a303dee 100644 --- a/roles/openshift_node/templates/node.yaml.v1.j2 +++ b/roles/openshift_node/templates/node.yaml.v1.j2 @@ -23,7 +23,9 @@ networkConfig: {% if openshift.common.use_openshift_sdn %} networkPluginName: {{ openshift.common.sdn_network_plugin_name }} {% endif %} +{% if openshift.node.set_node_ip | bool %} nodeIP: {{ openshift.common.ip }} +{% endif %} nodeName: {{ openshift.common.hostname | lower }} podManifestConfig: servingInfo: |