From d79afc6bac6660fc7fa8885a188699517aa56806 Mon Sep 17 00:00:00 2001 From: Yatin Karel Date: Thu, 23 Apr 2026 19:06:35 +0530 Subject: [PATCH] [update_containers] check custom images Just for testing custom images for services. Signed-off-by: Yatin Karel --- roles/edpm_prepare/tasks/kustomize_and_deploy.yml | 2 ++ roles/update_containers/templates/update_containers.j2 | 5 +++++ 2 files changed, 7 insertions(+) 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 %}