summaryrefslogtreecommitdiff
path: root/docker/nova/nova-api/Dockerfile.j2
diff options
context:
space:
mode:
authorPierre Riteau <pierre@stackhpc.com>2023-03-28 09:03:20 +0200
committerMatt Crees <mattc@stackhpc.com>2023-08-22 10:22:43 +0100
commit3e2afe2f6ecebaa6bd45fcedc25663c7c3780872 (patch)
treeeeb32291e208b6f956160a29baf82792a81f83c7 /docker/nova/nova-api/Dockerfile.j2
parent9b612fa231acf239926e4790165d6ae16074f99e (diff)
downloadkolla-3e2afe2f6ecebaa6bd45fcedc25663c7c3780872.tar.gz
kolla-3e2afe2f6ecebaa6bd45fcedc25663c7c3780872.zip
Add support for running Nova upgrade checks
NOTE: Specific to the Zed release, the KOLLA_UPGRADE_CHECK feature is not guaranteed to be present in the nova_api image. As such. a label has been added to be checked for in Kolla-Ansible. Related-Bug: #1957080 Change-Id: I6cbbdfcd40a8f486a3a636b41d704ee6ffafb812 (cherry picked from commit 48b5980c6352ad4e5cf0ac6da369140910c8f389)
Diffstat (limited to 'docker/nova/nova-api/Dockerfile.j2')
-rw-r--r--docker/nova/nova-api/Dockerfile.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/nova/nova-api/Dockerfile.j2 b/docker/nova/nova-api/Dockerfile.j2
index 395555564..9cd86b1a9 100644
--- a/docker/nova/nova-api/Dockerfile.j2
+++ b/docker/nova/nova-api/Dockerfile.j2
@@ -1,6 +1,6 @@
FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
{% block labels %}
-LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
+LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}" upgrade_check=true
{% endblock %}
{% block nova_api_header %}{% endblock %}