main.yml 1.2 KB

12345678910111213141516171819202122232425
  1. builddefaults_yaml:
  2. BuildDefaults:
  3. configuration:
  4. apiVersion: v1
  5. kind: BuildDefaultsConfig
  6. gitHTTPProxy: "{{ openshift.master.builddefaults_git_http_proxy | default(omit, true) }}"
  7. gitHTTPSProxy: "{{ openshift.master.builddefaults_git_https_proxy | default(omit, true) }}"
  8. env:
  9. - name: HTTP_PROXY
  10. value: "{{ openshift.master.builddefaults_http_proxy | default(omit, true) }}"
  11. - name: HTTPS_PROXY
  12. value: "{{ openshift.master.builddefaults_https_proxy | default(omit, true) }}"
  13. - name: NO_PROXY
  14. value: "{{ openshift.master.builddefaults_no_proxy | default(omit, true) | join(',') }}"
  15. - name: http_proxy
  16. value: "{{ openshift.master.builddefaults_http_proxy | default(omit, true) }}"
  17. - name: https_proxy
  18. value: "{{ openshift.master.builddefaults_https_proxy | default(omit, true) }}"
  19. - name: no_proxy
  20. value: "{{ openshift.master.builddefaults_no_proxy | default(omit, true) | join(',') }}"
  21. metrics_hostname: "{{ openshift_hosted_metrics_public_url
  22. | default('hawkular-metrics.' ~ (openshift.master.default_subdomain
  23. | default(openshift_master_default_subdomain )))
  24. | oo_hostname_from_url }}"