diff --git a/akri-chart/Chart.yaml b/akri-chart/Chart.yaml
index c105eb4..9d91c86 100644
--- a/akri-chart/Chart.yaml
+++ b/akri-chart/Chart.yaml
@@ -1,5 +1,5 @@
-#!BuildTag: %%IMG_PREFIX%%akri-chart:302.0.0_up0.12.20
-#!BuildTag: %%IMG_PREFIX%%akri-chart:302.0.0_up0.12.20-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%akri-chart:%%CHART_MAJOR%%.0.0_up0.12.20
+#!BuildTag: %%IMG_PREFIX%%akri-chart:%%CHART_MAJOR%%.0.0_up0.12.20-%RELEASE%
annotations:
catalog.cattle.io/display-name: Akri
apiVersion: v2
@@ -8,4 +8,4 @@ description: A Helm chart for Akri
icon: https://raw.githubusercontent.com/project-akri/akri-docs/main/art/icon/akri-icon-light.svg
name: akri
type: application
-version: 302.0.0+up0.12.20
+version: "%%CHART_MAJOR%%.0.0+up0.12.20"
diff --git a/akri-chart/_service b/akri-chart/_service
index 4f6fb26..b887b22 100644
--- a/akri-chart/_service
+++ b/akri-chart/_service
@@ -11,5 +11,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/akri-dashboard-extension-chart/Chart.yaml b/akri-dashboard-extension-chart/Chart.yaml
index ee9f898..b33c51c 100644
--- a/akri-dashboard-extension-chart/Chart.yaml
+++ b/akri-dashboard-extension-chart/Chart.yaml
@@ -1,5 +1,5 @@
-#!BuildTag: %%IMG_PREFIX%%akri-dashboard-extension-chart:302.0.0_up1.2.0
-#!BuildTag: %%IMG_PREFIX%%akri-dashboard-extension-chart:302.0.0_up1.2.0-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%akri-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.0
+#!BuildTag: %%IMG_PREFIX%%akri-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.0-%RELEASE%
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Akri
@@ -17,4 +17,4 @@ description: "SUSE Edge: Akri extension for Rancher Dashboard"
icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/akri/icon/color/akri-icon-color.svg
name: akri-dashboard-extension
type: application
-version: 302.0.0+up1.2.0
+version: "%%CHART_MAJOR%%.0.0+up1.2.0"
diff --git a/akri-dashboard-extension-chart/_service b/akri-dashboard-extension-chart/_service
index 4f6fb26..b887b22 100644
--- a/akri-dashboard-extension-chart/_service
+++ b/akri-dashboard-extension-chart/_service
@@ -11,5 +11,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/cdi-chart/Chart.yaml b/cdi-chart/Chart.yaml
index 081ea6a..1b08449 100644
--- a/cdi-chart/Chart.yaml
+++ b/cdi-chart/Chart.yaml
@@ -1,9 +1,9 @@
-#!BuildTag: %%IMG_PREFIX%%cdi-chart:302.0.0_up0.4.0
-#!BuildTag: %%IMG_PREFIX%%cdi-chart:302.0.0_up0.4.0-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%cdi-chart:%%CHART_MAJOR%%.0.0_up0.4.0
+#!BuildTag: %%IMG_PREFIX%%cdi-chart:%%CHART_MAJOR%%.0.0_up0.4.0-%RELEASE%
apiVersion: v2
appVersion: 1.60.1
description: A Helm chart for Containerized Data Importer (CDI)
icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/kubevirt/icon/color/kubevirt-icon-color.svg
name: cdi
type: application
-version: 302.0.0+up0.4.0
+version: "%%CHART_MAJOR%%302.0.0+up0.4.0"
diff --git a/cdi-chart/_service b/cdi-chart/_service
index 415ab01..cddd72f 100644
--- a/cdi-chart/_service
+++ b/cdi-chart/_service
@@ -4,5 +4,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/endpoint-copier-operator-chart/Chart.yaml b/endpoint-copier-operator-chart/Chart.yaml
index 2b68d69..5450072 100644
--- a/endpoint-copier-operator-chart/Chart.yaml
+++ b/endpoint-copier-operator-chart/Chart.yaml
@@ -1,8 +1,8 @@
-#!BuildTag: %%IMG_PREFIX%%endpoint-copier-operator-chart:302.0.0_up0.2.1
-#!BuildTag: %%IMG_PREFIX%%endpoint-copier-operator-chart:302.0.0_up0.2.1-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%endpoint-copier-operator-chart:%%CHART_MAJOR%%.0.0_up0.2.1
+#!BuildTag: %%IMG_PREFIX%%endpoint-copier-operator-chart:%%CHART_MAJOR%%.0.0_up0.2.1-%RELEASE%
apiVersion: v2
appVersion: v0.2.0
description: A Helm chart for Kubernetes
name: endpoint-copier-operator
type: application
-version: 302.0.0+up0.2.1
+version: "%%CHART_MAJOR%%.0.0+up0.2.1"
diff --git a/endpoint-copier-operator-chart/_service b/endpoint-copier-operator-chart/_service
index 4f6fb26..b887b22 100644
--- a/endpoint-copier-operator-chart/_service
+++ b/endpoint-copier-operator-chart/_service
@@ -11,5 +11,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/kubevirt-chart/Chart.yaml b/kubevirt-chart/Chart.yaml
index 55c5c74..cf362dc 100644
--- a/kubevirt-chart/Chart.yaml
+++ b/kubevirt-chart/Chart.yaml
@@ -1,9 +1,9 @@
-#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:302.0.0_up0.4.0-%RELEASE%
-#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:302.0.0_up0.4.0
+#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:%%CHART_MAJOR%%.0.0_up0.4.0-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:%%CHART_MAJOR%%.0.0_up0.4.0
apiVersion: v2
appVersion: 1.3.1
description: A Helm chart for KubeVirt
icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/kubevirt/icon/color/kubevirt-icon-color.svg
name: kubevirt
type: application
-version: 302.0.0+up0.4.0
+version: "%%CHART_MAJOR%%.0.0+up0.4.0"
diff --git a/kubevirt-chart/_service b/kubevirt-chart/_service
index 415ab01..cddd72f 100644
--- a/kubevirt-chart/_service
+++ b/kubevirt-chart/_service
@@ -4,5 +4,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/kubevirt-dashboard-extension-chart/Chart.yaml b/kubevirt-dashboard-extension-chart/Chart.yaml
index 9e98d54..218f414 100644
--- a/kubevirt-dashboard-extension-chart/Chart.yaml
+++ b/kubevirt-dashboard-extension-chart/Chart.yaml
@@ -1,5 +1,5 @@
-#!BuildTag: %%IMG_PREFIX%%kubevirt-dashboard-extension-chart:1.2.0
-#!BuildTag: %%IMG_PREFIX%%kubevirt-dashboard-extension-chart:1.2.0-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%kubevirt-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.0
+#!BuildTag: %%IMG_PREFIX%%kubevirt-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.0-%RELEASE%
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: KubeVirt
@@ -17,4 +17,4 @@ description: 'SUSE Edge: KubeVirt extension for Rancher Dashboard'
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/kubevirt/icon/color/kubevirt-icon-color.svg
name: kubevirt-dashboard-extension
type: application
-version: 1.2.0
+version: "%%CHART_MAJOR%%.0.0+up1.2.0"
diff --git a/kubevirt-dashboard-extension-chart/_service b/kubevirt-dashboard-extension-chart/_service
index 4f6fb26..b887b22 100644
--- a/kubevirt-dashboard-extension-chart/_service
+++ b/kubevirt-dashboard-extension-chart/_service
@@ -11,5 +11,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/metal3-chart/Chart.yaml b/metal3-chart/Chart.yaml
index 80d91cb..b5c8d06 100644
--- a/metal3-chart/Chart.yaml
+++ b/metal3-chart/Chart.yaml
@@ -1,5 +1,5 @@
-#!BuildTag: %%IMG_PREFIX%%metal3-chart:302.0.0_up0.9.0
-#!BuildTag: %%IMG_PREFIX%%metal3-chart:302.0.0_up0.9.0-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%metal3-chart:%%CHART_MAJOR%%.0.0_up0.9.0
+#!BuildTag: %%IMG_PREFIX%%metal3-chart:%%CHART_MAJOR%%.0.0_up0.9.0-%RELEASE%
apiVersion: v2
appVersion: 0.9.0
dependencies:
@@ -25,4 +25,4 @@ description: A Helm chart that installs all of the dependencies needed for Metal
icon: https://github.com/cncf/artwork/raw/master/projects/metal3/icon/color/metal3-icon-color.svg
name: metal3
type: application
-version: 302.0.0+up0.9.0
+version: "%%CHART_MAJOR%%.0.0+up0.9.0"
diff --git a/metal3-chart/_service b/metal3-chart/_service
index 4f6fb26..b887b22 100644
--- a/metal3-chart/_service
+++ b/metal3-chart/_service
@@ -11,5 +11,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/metallb-chart/Chart.yaml b/metallb-chart/Chart.yaml
index 9c6bb85..93514fb 100644
--- a/metallb-chart/Chart.yaml
+++ b/metallb-chart/Chart.yaml
@@ -1,5 +1,5 @@
-#!BuildTag: %%IMG_PREFIX%%metallb-chart:302.0.0_up0.14.9
-#!BuildTag: %%IMG_PREFIX%%metallb-chart:302.0.0_up0.14.9-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%metallb-chart:%%CHART_MAJOR%%.0.0_up0.14.9
+#!BuildTag: %%IMG_PREFIX%%metallb-chart:%%CHART_MAJOR%%.0.0_up0.14.9-%RELEASE%
apiVersion: v2
appVersion: v0.14.3
dependencies:
@@ -20,4 +20,4 @@ name: metallb
sources:
- https://github.com/metallb/metallb
type: application
-version: 302.0.0+up0.14.9
+version: "%%CHART_MAJOR%%.0.0+up0.14.9"
diff --git a/metallb-chart/_service b/metallb-chart/_service
index 4f6fb26..b887b22 100644
--- a/metallb-chart/_service
+++ b/metallb-chart/_service
@@ -11,5 +11,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/rancher-turtles-airgap-resources-chart/Chart.yaml b/rancher-turtles-airgap-resources-chart/Chart.yaml
index e34a16b..c821a08 100644
--- a/rancher-turtles-airgap-resources-chart/Chart.yaml
+++ b/rancher-turtles-airgap-resources-chart/Chart.yaml
@@ -1,5 +1,5 @@
-#!BuildTag: %%IMG_PREFIX%%rancher-turtles-airgap-resources-chart:302.0.0_up0.13.0
-#!BuildTag: %%IMG_PREFIX%%rancher-turtles-airgap-resources-chart:302.0.0_up0.13.0
+#!BuildTag: %%IMG_PREFIX%%rancher-turtles-airgap-resources-chart:%%CHART_MAJOR%%.0.0_up0.13.0
+#!BuildTag: %%IMG_PREFIX%%rancher-turtles-airgap-resources-chart:%%CHART_MAJOR%%.0.0_up0.13.0
apiVersion: v2
appVersion: 0.13.0
description: Rancher Turtles utility chart for airgap scenarios
@@ -7,4 +7,4 @@ home: https://github.com/rancher/turtles/
icon: https://raw.githubusercontent.com/rancher/turtles/main/logos/capi.svg
name: rancher-turtles-airgap-resources
type: application
-version: 302.0.0+up0.13.0
+version: "%%CHART_MAJOR%%.0.0+up0.13.0"
diff --git a/rancher-turtles-airgap-resources-chart/_service b/rancher-turtles-airgap-resources-chart/_service
index 415ab01..cddd72f 100644
--- a/rancher-turtles-airgap-resources-chart/_service
+++ b/rancher-turtles-airgap-resources-chart/_service
@@ -4,5 +4,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/rancher-turtles-chart/Chart.yaml b/rancher-turtles-chart/Chart.yaml
index 6369dc1..fe8edfc 100644
--- a/rancher-turtles-chart/Chart.yaml
+++ b/rancher-turtles-chart/Chart.yaml
@@ -1,5 +1,5 @@
-#!BuildTag: %%IMG_PREFIX%%rancher-turtles-chart:302.0.0_up0.13.0
-#!BuildTag: %%IMG_PREFIX%%rancher-turtles-chart:302.0.0_up0.13.0-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%rancher-turtles-chart:%%CHART_MAJOR%%.0.0_up0.13.0
+#!BuildTag: %%IMG_PREFIX%%rancher-turtles-chart:%%CHART_MAJOR%%.0.0_up0.13.0-%RELEASE%
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Rancher Turtles - the Cluster API Extension
@@ -29,4 +29,4 @@ keywords:
- provisioning
name: rancher-turtles
type: application
-version: 302.0.0+up0.13.0
+version: "%%CHART_MAJOR%%.0.0+up0.13.0"
diff --git a/rancher-turtles-chart/_service b/rancher-turtles-chart/_service
index 4f6fb26..b887b22 100644
--- a/rancher-turtles-chart/_service
+++ b/rancher-turtles-chart/_service
@@ -11,5 +11,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/sriov-crd-chart/Chart.yaml b/sriov-crd-chart/Chart.yaml
index 0c54e5f..c883db6 100644
--- a/sriov-crd-chart/Chart.yaml
+++ b/sriov-crd-chart/Chart.yaml
@@ -1,5 +1,5 @@
-#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:302.0.0_up1.4.0-%RELEASE%
-#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:302.0.0_up1.4.0
+#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:%%CHART_MAJOR%%.0.0_up1.4.0-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:%%CHART_MAJOR%%.0.0_up1.4.0
annotations:
catalog.cattle.io/experimental: "true"
catalog.cattle.io/hidden: "true"
@@ -10,4 +10,4 @@ apiVersion: v2
description: Installs the CRDs for the SR-IOV operator
name: sriov-crd
type: application
-version: 302.0.0+up1.4.0
+version: "%%CHART_MAJOR%%.0.0+up1.4.0"
diff --git a/sriov-crd-chart/_service b/sriov-crd-chart/_service
index 415ab01..cddd72f 100644
--- a/sriov-crd-chart/_service
+++ b/sriov-crd-chart/_service
@@ -4,5 +4,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/sriov-network-operator-chart/Chart.yaml b/sriov-network-operator-chart/Chart.yaml
index 39a385c..8b77bdf 100644
--- a/sriov-network-operator-chart/Chart.yaml
+++ b/sriov-network-operator-chart/Chart.yaml
@@ -1,5 +1,5 @@
-#!BuildTag: %%IMG_PREFIX%%sriov-network-operator-chart:302.0.0_up1.4.0-%RELEASE%
-#!BuildTag: %%IMG_PREFIX%%sriov-network-operator-chart:302.0.0_up1.4.0
+#!BuildTag: %%IMG_PREFIX%%sriov-network-operator-chart:%%CHART_MAJOR%%.0.0_up1.4.0-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%sriov-network-operator-chart:%%CHART_MAJOR%%.0.0_up1.4.0
annotations:
catalog.cattle.io/auto-install: sriov-crd=match
catalog.cattle.io/experimental: "true"
@@ -25,4 +25,4 @@ name: sriov-network-operator
sources:
- https://github.com/k8snetworkplumbingwg/sriov-network-operator
type: application
-version: 302.0.0+up1.4.0
+version: "%%CHART_MAJOR%%.0.0+up1.4.0"
diff --git a/sriov-network-operator-chart/_service b/sriov-network-operator-chart/_service
index 415ab01..cddd72f 100644
--- a/sriov-network-operator-chart/_service
+++ b/sriov-network-operator-chart/_service
@@ -4,5 +4,7 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR
diff --git a/upgrade-controller-chart/Chart.yaml b/upgrade-controller-chart/Chart.yaml
index a05fc93..033cedf 100644
--- a/upgrade-controller-chart/Chart.yaml
+++ b/upgrade-controller-chart/Chart.yaml
@@ -1,5 +1,5 @@
-#!BuildTag: %%IMG_PREFIX%%upgrade-controller-chart:302.0.0_up0.1.0
-#!BuildTag: %%IMG_PREFIX%%upgrade-controller-chart:302.0.0_up0.1.0-%RELEASE%
+#!BuildTag: %%IMG_PREFIX%%upgrade-controller-chart:%%CHART_MAJOR%%.0.0_up0.1.0
+#!BuildTag: %%IMG_PREFIX%%upgrade-controller-chart:%%CHART_MAJOR%%.0.0_up0.1.0-%RELEASE%
apiVersion: v2
appVersion: 0.1.0
dependencies:
@@ -10,4 +10,4 @@ dependencies:
description: A Helm chart for Upgrade Controller
name: upgrade-controller
type: application
-version: 302.0.0+up0.1.0
+version: "%%CHART_MAJOR%%.0.0+up0.1.0"
diff --git a/upgrade-controller-chart/_service b/upgrade-controller-chart/_service
index d43430b..36f7c96 100644
--- a/upgrade-controller-chart/_service
+++ b/upgrade-controller-chart/_service
@@ -11,6 +11,8 @@
Chart.yaml
IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})
IMG_PREFIX
+ CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})
+ CHART_MAJOR