diff --git a/edge-image-builder-image/_service b/edge-image-builder-image/_service
index f4cc8dd..aaa349a 100644
--- a/edge-image-builder-image/_service
+++ b/edge-image-builder-image/_service
@@ -7,10 +7,14 @@
IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)
IMG_REPO
artifacts.yaml
+ IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
+ IMG_PREFIX
CHART_REPO=$(rpm --macros=/root/.rpmmacros -E %chart_repo)
CHART_REPO
SUPPORT_LEVEL=$(rpm --macros=/root/.rpmmacros -E %support_level)
SUPPORT_LEVEL
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/edge-image-builder-image/artifacts.yaml b/edge-image-builder-image/artifacts.yaml
index c1c06f3..4a4a0d8 100644
--- a/edge-image-builder-image/artifacts.yaml
+++ b/edge-image-builder-image/artifacts.yaml
@@ -1,11 +1,11 @@
metallb:
chart: metallb-chart
- repository: %%CHART_REPO%%/3.1
- version: 0.14.9
+ repository: "%%CHART_REPO%%/%%IMG_PREFIX%%"
+ version: "%%CHART_MAJOR%%.0.0+up0.14.9"
endpoint-copier-operator:
chart: endpoint-copier-operator-chart
- repository: %%CHART_REPO%%/3.1
- version: 0.2.1
+ repository: "%%CHART_REPO%%/%%IMG_PREFIX%%"
+ version: "%%CHART_MAJOR%%.0.0+up0.2.1"
kubernetes:
k3s:
selinuxPackage: k3s-selinux-1.6-1.slemicro.noarch
@@ -13,4 +13,3 @@ kubernetes:
rke2:
selinuxPackage: rke2-selinux
selinuxRepository: https://rpm.rancher.io/rke2/stable/common/slemicro/noarch
-