Explorar o código

Add .default to no_proxy list for ASB.

Derek Whatley %!s(int64=7) %!d(string=hai) anos
pai
achega
b6a194edec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: