瀏覽代碼

Add proxy env vars to ASB DC.

Derek Whatley 7 年之前
父節點
當前提交
7252cf85b2
共有 1 個文件被更改,包括 6 次插入0 次删除
  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: