main.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233
  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: "{{ openshift.builddefaults.resources | default(None) }}"
  27. resources:
  28. requests:
  29. cpu: "{{ openshift_builddefaults_resources_requests_cpu | default(None) }}"
  30. memory: "{{ openshift_builddefaults_resources_requests_memory | default(None) }}"
  31. limits:
  32. cpu: "{{ openshift_builddefaults_resources_limits_cpu | default(None) }}"
  33. memory: "{{ openshift_builddefaults_resources_limits_memory | default(None) }}"