summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-05-25 17:07:57 -0400
committerScott Dodson <sdodson@redhat.com>2017-06-18 21:14:29 -0400
commit48cb038635b0508cc6c1218d3d23fb8ccd6551fe (patch)
treeebdd765c5fc319301fe71a77b7ff54f94f68e141 /roles/openshift_facts
parent9545204f504f1dcf3de18272dc1fb951dd15f486 (diff)
downloadopenshift-48cb038635b0508cc6c1218d3d23fb8ccd6551fe.tar.gz
openshift-48cb038635b0508cc6c1218d3d23fb8ccd6551fe.tar.bz2
openshift-48cb038635b0508cc6c1218d3d23fb8ccd6551fe.tar.xz
openshift-48cb038635b0508cc6c1218d3d23fb8ccd6551fe.zip
Push to the registry via dns
Configures OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc Adds 'cluster.local' to dns search on nodes via dispatcher script Adds '.svc' to NO_PROXY defaults
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index cfe092a28..0788ddfb0 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -1654,6 +1654,7 @@ def set_proxy_facts(facts):
common['no_proxy'].extend(common['no_proxy_internal_hostnames'].split(','))
# We always add local dns domain and ourselves no matter what
common['no_proxy'].append('.' + common['dns_domain'])
+ common['no_proxy'].append('.svc')
common['no_proxy'].append(common['hostname'])
common['no_proxy'] = ','.join(sort_unique(common['no_proxy']))
facts['common'] = common