main.yml 1.4 KB

1234567891011121314151617181920212223242526
  1. ---
  2. openshift_logging_es5_techpreview: False
  3. l_openshift_logging_search_dict:
  4. origin: "${component}"
  5. openshift-enterprise: "ose-${component}"
  6. l_openshift_logging_search: "{{ l_openshift_logging_search_dict[openshift_deployment_type] }}"
  7. # this variable does not replace ${version} with openshift_image_tag
  8. l_os_logging_non_standard_reg_url: "{{ oreg_url | default(l_osm_registry_url_default) }}"
  9. l_os_logging_non_standard_reg_search_dict:
  10. origin: "origin-${component}"
  11. openshift-enterprise: "ose-${component}"
  12. l_os_logging_non_standard_reg_search: "{{ l_os_logging_non_standard_reg_search_dict[openshift_deployment_type] }}"
  13. l_os_logging_proxy_image_version_dict:
  14. origin: 'v1.0.0'
  15. openshift-enterprise: "{{ openshift_image_tag }}"
  16. l_os_logging_proxy_image_version: "{{ l_os_logging_proxy_image_version_dict[openshift_deployment_type] }}"
  17. # We need to regex_replace ${version} with either v1.0.0 or openshift_image_tag
  18. l_os_logging_proxy_image: "{{ l_os_logging_non_standard_reg_url | regex_replace('${version}' | regex_escape, l_os_logging_proxy_image_version) }}"
  19. # We need to regex_replace the origin-${component} with 'oauth-proxy'
  20. l2_os_logging_proxy_image: "{{ l_os_logging_proxy_image | regex_replace(l_os_logging_non_standard_reg_search | regex_escape, 'oauth-proxy') }}"
  21. openshift_logging_fluentd_image: "{{ l_os_registry_url | regex_replace(l_openshift_logging_search | regex_escape, 'logging-fluentd') }}"