summaryrefslogtreecommitdiff
path: root/roles/openshift_master/templates
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-06-16 13:14:39 -0400
committerScott Dodson <sdodson@redhat.com>2017-06-18 21:28:32 -0400
commit6fbc26e857146cbbee32b8df66b65fdd66730dab (patch)
tree2ee43e263406df729e9a7e3c4bf9b6ccf5f41cb3 /roles/openshift_master/templates
parent9bb460dcf947aec01fdf02d3ef6690d609fa2b18 (diff)
Enable push to registry via dns only on clean 3.6 installs
We cannot assume that 3.5 to 3.6 upgrades were signed with the correct certs
Diffstat (limited to 'roles/openshift_master/templates')
-rw-r--r--roles/openshift_master/templates/atomic-openshift-master.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/templates/atomic-openshift-master.j2 b/roles/openshift_master/templates/atomic-openshift-master.j2
index 6c9e1336a..156bb49d6 100644
--- a/roles/openshift_master/templates/atomic-openshift-master.j2
+++ b/roles/openshift_master/templates/atomic-openshift-master.j2
@@ -1,6 +1,6 @@
OPTIONS=--loglevel={{ openshift.master.debug_level | default(2) }}
CONFIG_FILE={{ openshift_master_config_file }}
-{% if openshift_use_dnsmasq | default(true) and openshift_push_via_dns | default(false) %}
+{% if openshift_push_via_dns %}
OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000
{% endif %}
{% if openshift.common.is_containerized | bool %}