diff options
author | Tim Bielawa <tbielawa@redhat.com> | 2017-07-05 09:27:57 -0400 |
---|---|---|
committer | Tim Bielawa <tbielawa@redhat.com> | 2017-07-05 09:30:17 -0400 |
commit | 4defbe2ab6bf2dd176951e4400d85092be747ab5 (patch) | |
tree | 1c608eb824091380b5d83d3f283b4bc886c3557a | |
parent | b7104cf8e01f94f9029a0808eb9eb2c6cb6107b2 (diff) | |
download | openshift-4defbe2ab6bf2dd176951e4400d85092be747ab5.tar.gz openshift-4defbe2ab6bf2dd176951e4400d85092be747ab5.tar.bz2 openshift-4defbe2ab6bf2dd176951e4400d85092be747ab5.tar.xz openshift-4defbe2ab6bf2dd176951e4400d85092be747ab5.zip |
Fix missing service domain .svc in NO_PROXY settings
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1467776
Adds the tld '.svc' to the docker NO_PROXY list
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 30701a518..c960630ed 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -1657,7 +1657,9 @@ def set_proxy_facts(facts): # at this point common['no_proxy'] is a LIST datastructure. It # may be empty, or it may contain some hostnames or ranges. - # We always add local dns domain and ourselves no matter what + # We always add local dns domain, the service domain, and + # ourselves, no matter what + common['no_proxy'].append('.svc') common['no_proxy'].append('.' + common['dns_domain']) common['no_proxy'].append(common['hostname']) |