Browse Source

Merge pull request #7432 from djwhatle/add-default-no-proxy

Automatic merge from submit-queue.

Bug 1552430 - Add .default to no_proxy list for ASB.

Adds .default to the no_proxy list.

https://bugzilla.redhat.com/show_bug.cgi?id=1552430
OpenShift Merge Robot 7 years ago
parent
commit
3436d5455a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/ansible_service_broker/tasks/install.yml

+ 1 - 1
roles/ansible_service_broker/tasks/install.yml

@@ -264,7 +264,7 @@
                     - name: HTTPS_PROXY
                       value: "{{ openshift.common.https_proxy  | default('') }}"
                     - name: NO_PROXY
-                      value: "{{ openshift.common.no_proxy  | default('') }}"
+                      value: "{{ ([openshift.common.no_proxy, '.default'] | join(',')) if openshift.get('common', {}).get('no_proxy') else '' }}"
                   resources: {}
                   terminationMessagePath: /tmp/termination-log
                   readinessProbe: