Fix build of prometheus-ovn-exporter

This patch fixed build of prometheus-ovn-exporter
when building with --image-name-prefix option.

Closes-Bug: #2076249
Change-Id: I5ba67d6e4bbe1b6d6caa842715b56720a027dc76
This commit is contained in:
Michal Arbet
2024-08-07 16:39:27 +02:00
parent 3c130f290e
commit 44acae3894
2 changed files with 7 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
FROM {{ namespace }}/{{ infra_image_prefix }}prometheus-base:{{ tag }}
FROM {{ namespace }}/{{ image_prefix }}prometheus-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}

View File

@@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue where prometheus-ovn-exporter will fail to build
if build was triggered with --image-name-prefix option.
`LP#2076249 <https://launchpad.net/bugs/2076249>`__