From 45a2190b486652d45496f71e31cc6da9c2e86b2e2c877781086d43b5e28112d5 Mon Sep 17 00:00:00 2001 From: Nicolas Belouin Date: Tue, 22 Oct 2024 13:28:48 +0200 Subject: [PATCH] Fix issue with img_prefix Signed-off-by: Nicolas Belouin --- akri-chart/_service | 4 ++-- akri-controller-image/_service | 2 +- akri-dashboard-extension-chart/_service | 4 ++-- akri-debug-echo-discovery-handler-image/_service | 2 +- akri-onvif-discovery-handler-image/_service | 2 +- akri-opcua-discovery-handler-image/_service | 2 +- akri-udev-discovery-handler-image/_service | 2 +- akri-webhook-configuration-image/_service | 2 +- baremetal-operator-image/_service | 2 +- cdi-chart/_service | 2 +- cluster-api-controller-image/_service | 2 +- cluster-api-operator-image/_service | 2 +- cluster-api-provider-metal3-image/_service | 2 +- cluster-api-provider-rke2-bootstrap-image/_service | 2 +- cluster-api-provider-rke2-controlplane-image/_service | 2 +- edge-image-builder-image/_service | 2 +- endpoint-copier-operator-chart/_service | 4 ++-- endpoint-copier-operator-image/_service | 2 +- ip-address-manager-image/_service | 2 +- ironic-image/_service | 2 +- ironic-ipa-downloader-image/_service | 2 +- metal3-chart/_service | 4 ++-- metallb-chart/_service | 4 ++-- metallb-controller-image/_service | 2 +- metallb-speaker-image/_service | 2 +- sriov-crd-chart/_service | 2 +- sriov-network-operator-chart/_service | 2 +- upgrade-controller-chart/_service | 4 ++-- upgrade-controller-image/_service | 2 +- 29 files changed, 35 insertions(+), 35 deletions(-) diff --git a/akri-chart/_service b/akri-chart/_service index c3f6878..4f6fb26 100644 --- a/akri-chart/_service +++ b/akri-chart/_service @@ -2,14 +2,14 @@ values.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX diff --git a/akri-controller-image/_service b/akri-controller-image/_service index 7e6a968..ea2d98f 100644 --- a/akri-controller-image/_service +++ b/akri-controller-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/akri-dashboard-extension-chart/_service b/akri-dashboard-extension-chart/_service index c3f6878..4f6fb26 100644 --- a/akri-dashboard-extension-chart/_service +++ b/akri-dashboard-extension-chart/_service @@ -2,14 +2,14 @@ values.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX diff --git a/akri-debug-echo-discovery-handler-image/_service b/akri-debug-echo-discovery-handler-image/_service index f71bb0e..0c59588 100644 --- a/akri-debug-echo-discovery-handler-image/_service +++ b/akri-debug-echo-discovery-handler-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/akri-onvif-discovery-handler-image/_service b/akri-onvif-discovery-handler-image/_service index 78d5714..eae3b96 100644 --- a/akri-onvif-discovery-handler-image/_service +++ b/akri-onvif-discovery-handler-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/akri-opcua-discovery-handler-image/_service b/akri-opcua-discovery-handler-image/_service index f8c69a7..5b8490d 100644 --- a/akri-opcua-discovery-handler-image/_service +++ b/akri-opcua-discovery-handler-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/akri-udev-discovery-handler-image/_service b/akri-udev-discovery-handler-image/_service index f620ac7..14e3e74 100644 --- a/akri-udev-discovery-handler-image/_service +++ b/akri-udev-discovery-handler-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/akri-webhook-configuration-image/_service b/akri-webhook-configuration-image/_service index 89f09e9..c13ae64 100644 --- a/akri-webhook-configuration-image/_service +++ b/akri-webhook-configuration-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/baremetal-operator-image/_service b/baremetal-operator-image/_service index 88c8e8c..b940a24 100644 --- a/baremetal-operator-image/_service +++ b/baremetal-operator-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/cdi-chart/_service b/cdi-chart/_service index 6b8f891..415ab01 100644 --- a/cdi-chart/_service +++ b/cdi-chart/_service @@ -2,7 +2,7 @@ Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX diff --git a/cluster-api-controller-image/_service b/cluster-api-controller-image/_service index 05f906c..cd89c9b 100644 --- a/cluster-api-controller-image/_service +++ b/cluster-api-controller-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/cluster-api-operator-image/_service b/cluster-api-operator-image/_service index 1edc617..a03dec2 100644 --- a/cluster-api-operator-image/_service +++ b/cluster-api-operator-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/cluster-api-provider-metal3-image/_service b/cluster-api-provider-metal3-image/_service index ec4e439..88b377a 100644 --- a/cluster-api-provider-metal3-image/_service +++ b/cluster-api-provider-metal3-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/cluster-api-provider-rke2-bootstrap-image/_service b/cluster-api-provider-rke2-bootstrap-image/_service index 430aa7c..d3ad628 100644 --- a/cluster-api-provider-rke2-bootstrap-image/_service +++ b/cluster-api-provider-rke2-bootstrap-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/cluster-api-provider-rke2-controlplane-image/_service b/cluster-api-provider-rke2-controlplane-image/_service index 1fbc59e..7262db3 100644 --- a/cluster-api-provider-rke2-controlplane-image/_service +++ b/cluster-api-provider-rke2-controlplane-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/edge-image-builder-image/_service b/edge-image-builder-image/_service index 3990297..5e4e6b4 100644 --- a/edge-image-builder-image/_service +++ b/edge-image-builder-image/_service @@ -2,7 +2,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/endpoint-copier-operator-chart/_service b/endpoint-copier-operator-chart/_service index c3f6878..4f6fb26 100644 --- a/endpoint-copier-operator-chart/_service +++ b/endpoint-copier-operator-chart/_service @@ -2,14 +2,14 @@ values.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX diff --git a/endpoint-copier-operator-image/_service b/endpoint-copier-operator-image/_service index e2ff368..4c01db8 100644 --- a/endpoint-copier-operator-image/_service +++ b/endpoint-copier-operator-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/ip-address-manager-image/_service b/ip-address-manager-image/_service index 56cf294..aa55602 100644 --- a/ip-address-manager-image/_service +++ b/ip-address-manager-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/ironic-image/_service b/ironic-image/_service index 219c79f..3b947dd 100644 --- a/ironic-image/_service +++ b/ironic-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/ironic-ipa-downloader-image/_service b/ironic-ipa-downloader-image/_service index 3480bd2..8dede4f 100644 --- a/ironic-ipa-downloader-image/_service +++ b/ironic-ipa-downloader-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/metal3-chart/_service b/metal3-chart/_service index c3f6878..4f6fb26 100644 --- a/metal3-chart/_service +++ b/metal3-chart/_service @@ -2,14 +2,14 @@ values.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX diff --git a/metallb-chart/_service b/metallb-chart/_service index c3f6878..4f6fb26 100644 --- a/metallb-chart/_service +++ b/metallb-chart/_service @@ -2,14 +2,14 @@ values.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX diff --git a/metallb-controller-image/_service b/metallb-controller-image/_service index 11af884..e8cb52e 100644 --- a/metallb-controller-image/_service +++ b/metallb-controller-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/metallb-speaker-image/_service b/metallb-speaker-image/_service index 1ed0813..ab9087f 100644 --- a/metallb-speaker-image/_service +++ b/metallb-speaker-image/_service @@ -9,7 +9,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO diff --git a/sriov-crd-chart/_service b/sriov-crd-chart/_service index 6b8f891..415ab01 100644 --- a/sriov-crd-chart/_service +++ b/sriov-crd-chart/_service @@ -2,7 +2,7 @@ Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX diff --git a/sriov-network-operator-chart/_service b/sriov-network-operator-chart/_service index 6b8f891..415ab01 100644 --- a/sriov-network-operator-chart/_service +++ b/sriov-network-operator-chart/_service @@ -2,7 +2,7 @@ Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX diff --git a/upgrade-controller-chart/_service b/upgrade-controller-chart/_service index 3cd1d17..d43430b 100644 --- a/upgrade-controller-chart/_service +++ b/upgrade-controller-chart/_service @@ -2,14 +2,14 @@ values.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX diff --git a/upgrade-controller-image/_service b/upgrade-controller-image/_service index 0041dd1..ed45bd6 100644 --- a/upgrade-controller-image/_service +++ b/upgrade-controller-image/_service @@ -2,7 +2,7 @@ Dockerfile - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO