Commit bf55f41
[multi-namespace] Skip container image update when primary NS has no overrides
The ns2_update_containers playbook unconditionally applies custom
container images to the openstack2 namespace using CI parameter
variables (registry, org, tag). However, when the primary openstack
namespace does not have customContainerImages set on its
OpenStackVersion CR, those CI parameters produce incorrect images
that override the correct operator defaults.
Add a pre-check that reads the primary namespace's OpenStackVersion
customContainerImages. If empty, skip the update_containers role so
that openstack2 uses the same operator defaults as openstack.
Signed-off-by: Luca Miccini <lmiccini@redhat.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9d54532 commit bf55f41
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
9 | 21 | | |
| 22 | + | |
| 23 | + | |
10 | 24 | | |
11 | 25 | | |
0 commit comments