summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks/main.yml
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/tasks/main.yml
parent9bb460dcf947aec01fdf02d3ef6690d609fa2b18 (diff)
downloadopenshift-6fbc26e857146cbbee32b8df66b65fdd66730dab.tar.gz
openshift-6fbc26e857146cbbee32b8df66b65fdd66730dab.tar.bz2
openshift-6fbc26e857146cbbee32b8df66b65fdd66730dab.tar.xz
openshift-6fbc26e857146cbbee32b8df66b65fdd66730dab.zip
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/tasks/main.yml')
-rw-r--r--roles/openshift_master/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 035c15fef..630d70a7e 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -128,6 +128,9 @@
when: openshift.master.request_header_ca is defined and item.kind == 'RequestHeaderIdentityProvider' and item.clientCA | default('') != ''
with_items: "{{ openshift.master.identity_providers }}"
+- set_fact:
+ openshift_push_via_dns: "{{ openshift_use_dnsmasq | default(true) and openshift.common.version_gte_3_6 and r_openshift_master_clean_install }}"
+
- name: Install the systemd units
include: systemd_units.yml