Browse Source

Add proxy env vars to ASB DC.

Derek Whatley 7 years ago
parent
commit
7252cf85b2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      roles/ansible_service_broker/tasks/install.yml

+ 6 - 0
roles/ansible_service_broker/tasks/install.yml

@@ -268,6 +268,12 @@
                   env:
                     - name: BROKER_CONFIG
                       value: /etc/ansible-service-broker/config.yaml
+                    - name: HTTP_PROXY
+                      value: "{{ openshift.common.http_proxy  | default('') }}"
+                    - name: HTTPS_PROXY
+                      value: "{{ openshift.common.https_proxy  | default('') }}"
+                    - name: NO_PROXY
+                      value: "{{ openshift.common.no_proxy  | default('') }}"
                   resources: {}
                   terminationMessagePath: /tmp/termination-log
                   readinessProbe: