Explorar o código

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
Tim Bielawa %!s(int64=7) %!d(string=hai) anos
pai
achega
4defbe2ab6
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      roles/openshift_facts/library/openshift_facts.py

+ 3 - 1
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'])