summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/templates
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-12-01 16:30:05 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-12-03 12:40:49 -0500
commit192ccc8e6e6f465351828f32e9dc43b840897b67 (patch)
treec562abf558ec654b0c3c8ba4411bb8070f23dda1 /roles/openshift_node/templates
parent3780deb06c7d8f85bfb031fbce7778646cbf64ee (diff)
downloadopenshift-192ccc8e6e6f465351828f32e9dc43b840897b67.tar.gz
openshift-192ccc8e6e6f465351828f32e9dc43b840897b67.tar.bz2
openshift-192ccc8e6e6f465351828f32e9dc43b840897b67.tar.xz
openshift-192ccc8e6e6f465351828f32e9dc43b840897b67.zip
Refactor dns options and facts.
Diffstat (limited to 'roles/openshift_node/templates')
-rw-r--r--roles/openshift_node/templates/node.yaml.v1.j26
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/openshift_node/templates/node.yaml.v1.j2 b/roles/openshift_node/templates/node.yaml.v1.j2
index 41a303dee..23bd81f91 100644
--- a/roles/openshift_node/templates/node.yaml.v1.j2
+++ b/roles/openshift_node/templates/node.yaml.v1.j2
@@ -1,7 +1,9 @@
allowDisabledDocker: false
apiVersion: v1
-dnsDomain: {{ osn_cluster_dns_domain }}
-dnsIP: {{ osn_cluster_dns_ip }}
+dnsDomain: {{ openshift.common.dns_domain }}
+{% if 'dns_ip' in openshift.common %}
+dnsIP: {{ openshift.common.dns_ip }}
+{% endif %}
dockerConfig:
execHandlerName: ""
iptablesSyncPeriod: "{{ openshift.node.iptables_sync_period }}"