diff --git a/roles/edpm_prepare/tasks/kustomize_and_deploy.yml b/roles/edpm_prepare/tasks/kustomize_and_deploy.yml index 3267e4dee..26cd0d831 100644 --- a/roles/edpm_prepare/tasks/kustomize_and_deploy.yml +++ b/roles/edpm_prepare/tasks/kustomize_and_deploy.yml @@ -37,6 +37,8 @@ (cifmw_update_containers_ansibleee_image_url is defined) or (cifmw_update_containers_openstack is defined and cifmw_update_containers_openstack | bool) or + (cifmw_update_containers_custom_images is defined and + cifmw_update_containers_custom_images is mapping) or (cifmw_update_containers_watcher is defined and cifmw_update_containers_watcher | bool)) vars: diff --git a/roles/update_containers/templates/update_containers.j2 b/roles/update_containers/templates/update_containers.j2 index ff71612ce..592434960 100644 --- a/roles/update_containers/templates/update_containers.j2 +++ b/roles/update_containers/templates/update_containers.j2 @@ -124,3 +124,8 @@ spec: watcherApplierImage: {{ cifmw_update_containers_registry }}/{{ cifmw_update_containers_org }}/{{ cifmw_update_containers_name_prefix }}-watcher-applier:{{ cifmw_update_containers_tag }} watcherDecisionEngineImage: {{ cifmw_update_containers_registry }}/{{ cifmw_update_containers_org }}/{{ cifmw_update_containers_name_prefix }}-watcher-decision-engine:{{ cifmw_update_containers_tag }} {% endif %} +{% if cifmw_update_containers_custom_images is defined and cifmw_update_containers_custom_images is mapping %} +{% for image_name, image_uri in cifmw_update_containers_custom_images.items() %} + {{ image_name }}: {{ image_uri }} +{% endfor %} +{% endif %}