main.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. ---
  2. builddefaults_yaml:
  3. BuildDefaults:
  4. configuration:
  5. apiVersion: v1
  6. kind: BuildDefaultsConfig
  7. gitHTTPProxy: "{{ openshift.builddefaults.git_http_proxy | default('', true) }}"
  8. gitHTTPSProxy: "{{ openshift.builddefaults.git_https_proxy | default('', true) }}"
  9. gitNoProxy: "{{ openshift.builddefaults.git_no_proxy | default('', true) }}"
  10. env:
  11. - name: HTTP_PROXY
  12. value: "{{ openshift.builddefaults.http_proxy | default('', true) }}"
  13. - name: HTTPS_PROXY
  14. value: "{{ openshift.builddefaults.https_proxy | default('', true) }}"
  15. - name: NO_PROXY
  16. value: "{{ openshift.builddefaults.no_proxy | default('', true) }}"
  17. - name: http_proxy
  18. value: "{{ openshift.builddefaults.http_proxy | default('', true) }}"
  19. - name: https_proxy
  20. value: "{{ openshift.builddefaults.https_proxy | default('', true) }}"
  21. - name: no_proxy
  22. value: "{{ openshift.builddefaults.no_proxy | default('', true) }}"
  23. imageLabels: "{{ openshift_builddefaults_image_labels | default(None) }}"
  24. nodeSelector: "{{ openshift_builddefaults_nodeselectors | default(None) }}"
  25. annotations: "{{ openshift_builddefaults_annotations | default(None) }}"
  26. resources:
  27. requests:
  28. cpu: "{{ openshift_builddefaults_resources_requests_cpu | default(None) }}"
  29. memory: "{{ openshift_builddefaults_resources_requests_memory | default(None) }}"
  30. limits:
  31. cpu: "{{ openshift_builddefaults_resources_limits_cpu | default(None) }}"
  32. memory: "{{ openshift_builddefaults_resources_limits_memory | default(None) }}"