Pārlūkot izejas kodu

Merge pull request #7352 from djwhatle/asb-proxy-support

Bug 1550717 - Add proxy env vars to ASB DC.
Scott Dodson 7 gadi atpakaļ
vecāks
revīzija
0f4f2ba5ad
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 6 0
      roles/ansible_service_broker/tasks/install.yml

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

@@ -268,6 +268,12 @@
                   env:
                   env:
                     - name: BROKER_CONFIG
                     - name: BROKER_CONFIG
                       value: /etc/ansible-service-broker/config.yaml
                       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: {}
                   resources: {}
                   terminationMessagePath: /tmp/termination-log
                   terminationMessagePath: /tmp/termination-log
                   readinessProbe:
                   readinessProbe: