Update system images list for StarlingX 6.0

In this commit, the system images list is updated to reflect
StarlingX 6.0 required bootstrap images as follows:
  a) add nginx-ingress-controller and cert-manager images; these
     applications are automatically applied during bootstrap.
  b) remove fluxcd related images as they are no longer required.

Test plan:
  - Bring up a standalone AIO-SX, backup and restore the system.
  - Deploy an AIO-SX subcloud.
  - Restart sysinv-conductor to trigger the execution of
    upgrade-static-images.yml and upgrade-k8s-networking.yml
    playbooks. These playbooks are also invoked as part
    of system upgrade.

Closes-Bug: 1952138
Change-Id: I3e99fc2e12c3d971c26a4fa8b1a8ad935b487f3b
Signed-off-by: Tee Ngo <tee.ngo@windriver.com>
This commit is contained in:
Tee Ngo
2021-11-24 18:07:17 -05:00
parent 17c2af85f0
commit 97525292dc
5 changed files with 27 additions and 13 deletions

View File

@@ -49,16 +49,17 @@
- name: Set download images list
set_fact:
download_images_list:
"{{ (kubernetes_images + networking_images + static_images + storage_images + additional_local_registry_images)
"{{ (kubernetes_images + networking_images + static_images + storage_images + security_images +
additional_local_registry_images)
if (additional_local_registry_images is defined and additional_local_registry_images|length > 0)
else (kubernetes_images + networking_images + static_images + storage_images) }}"
else (kubernetes_images + networking_images + static_images + storage_images + security_images) }}"
when: mode == 'bootstrap' or
mode == 'restore'
# Only download static images if static images upgrade
- name: Set download images list to static images if upgrading static images
# Download general and security specific static images if static images upgrade
- name: Set download images list to static images (both general and security specific) if upgrading platform
set_fact:
download_images_list: "{{ download_images_list|default([]) + static_images }}"
download_images_list: "{{ download_images_list|default([]) + static_images + security_images }}"
when: mode == 'upgrade_static_images'
# Only download k8s networking images if k8s networking upgrade