|
@@ -24,12 +24,7 @@ l_openshift_images_dict:
|
|
|
l_osm_registry_url_default: "{{ l_openshift_images_dict[openshift_deployment_type] }}"
|
|
|
l_os_registry_url: "{{ oreg_url | default(l_osm_registry_url_default) | regex_replace('${version}' | regex_escape, openshift_image_tag | default('${version}')) }}"
|
|
|
|
|
|
-l_openshift_prefix_dict:
|
|
|
- origin: 'origin-${component}'
|
|
|
- openshift-enterprise: 'ose-${component}'
|
|
|
-l_os_prefix: "{{ l_openshift_prefix_dict[openshift_deployment_type] }}"
|
|
|
-# TODO: we should publish oreg_url component=node
|
|
|
-osn_image_default: "{{ l_os_registry_url | regex_replace(l_os_prefix | regex_escape, 'node') }}"
|
|
|
+osn_image_default: "{{ l_os_registry_url | regex_replace('${component}' | regex_escape, 'node') }}"
|
|
|
osn_image: "{{ (system_images_registry == 'docker') | ternary(osn_image_default, (osn_image_default.split('/')|length==2) | ternary(system_images_registry + '/' + osn_image_default, osn_image_default)) }}"
|
|
|
system_osn_image: "{{ (system_images_registry == 'docker') | ternary('docker:' + osn_image, osn_image) }}"
|
|
|
|