Add n3000-opae docker image to system downloads

We want to download the n3000-opae docker image and push it to
the local registry in order to ensure it's available since it's
needed by sysinv-fpga-agent.

Change-Id: I63cfa7698285a1a43f1e9e4b98e9a536fc3dc682
Story: 2006740
Task: 39910
This commit is contained in:
Chris Friesen
2020-05-26 17:10:06 -04:00
parent 1735710886
commit 741c057769
3 changed files with 7 additions and 5 deletions

View File

@@ -64,9 +64,10 @@
- "{{ multus_img }}"
- "{{ sriov_cni_img }}"
- "{{ sriov_network_device_img }}"
tiller_armada_images:
static_images:
- "{{ tiller_img }}"
- "{{ armada_img }}"
- "{{ n3000_opae_img }}"
storage_images:
- "{{ snapshot_controller_img }}"
when: kubernetes_version is defined
@@ -75,16 +76,16 @@
- name: Set download images list
set_fact:
download_images_list:
"{{ (kubernetes_images + networking_images + tiller_armada_images + storage_images + additional_local_registry_images)
"{{ (kubernetes_images + networking_images + static_images + storage_images + additional_local_registry_images)
if (additional_local_registry_images is defined and additional_local_registry_images|length > 0)
else (kubernetes_images + networking_images + tiller_armada_images + storage_images) }}"
else (kubernetes_images + networking_images + static_images + storage_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
set_fact:
download_images_list: "{{ download_images_list|default([]) + tiller_armada_images }}"
download_images_list: "{{ download_images_list|default([]) + static_images }}"
when: mode == 'upgrade_static_images'
# Only download k8s networking images if k8s networking upgrade