From 76665fe7ab73d9b6811654b6b9ac7b45d2c6feb3 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:32:23 +0200 Subject: [PATCH] chore(common): update min helm version (#29810) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes #29809 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten Co-authored-by: Kjeld Schouten --- charts/library/common/Chart.yaml | 6 +++--- .../common/templates/lib/chart/_check_capabitilies.tpl | 2 +- clustertool/pkg/charts/chartFile/chart_file.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/library/common/Chart.yaml b/charts/library/common/Chart.yaml index 149f1b383082..68b10f9564ca 100644 --- a/charts/library/common/Chart.yaml +++ b/charts/library/common/Chart.yaml @@ -5,8 +5,8 @@ annotations: - name: support url: https://discord.com/invite/tVsPTHWTtr truecharts.org/category: unsorted - truecharts.org/max_helm_version: "3.15" - truecharts.org/min_helm_version: "3.11" + truecharts.org/max_helm_version: "3.16" + truecharts.org/min_helm_version: "3.14" truecharts.org/train: library apiVersion: v2 appVersion: 1.10.3 @@ -19,7 +19,7 @@ keywords: - truecharts - library-chart - common -kubeVersion: '>=1.24.0-0' +kubeVersion: ">=1.24.0-0" maintainers: - name: TrueCharts email: info@truecharts.org diff --git a/charts/library/common/templates/lib/chart/_check_capabitilies.tpl b/charts/library/common/templates/lib/chart/_check_capabitilies.tpl index fb395b078458..679f1b887d4f 100644 --- a/charts/library/common/templates/lib/chart/_check_capabitilies.tpl +++ b/charts/library/common/templates/lib/chart/_check_capabitilies.tpl @@ -1,6 +1,6 @@ {{- define "tc.v1.common.check.capabilities" -}} {{- $helmVersion := semver .Capabilities.HelmVersion.Version -}} - {{- $helmMinVer := semver "3.9.4" -}} + {{- $helmMinVer := semver "3.14.0" -}} {{- if .Chart.Annotations -}} {{- $min := index .Chart.Annotations "truecharts.org/min_helm_version" -}} diff --git a/clustertool/pkg/charts/chartFile/chart_file.go b/clustertool/pkg/charts/chartFile/chart_file.go index c0642a5da4ed..7999f1e3ec6e 100644 --- a/clustertool/pkg/charts/chartFile/chart_file.go +++ b/clustertool/pkg/charts/chartFile/chart_file.go @@ -14,8 +14,8 @@ import ( ) const ( - minHelmVersion = "3.11" - maxHelmVersion = "3.15" + minHelmVersion = "3.14" + maxHelmVersion = "3.16" kubeVersion = ">=1.24.0-0" apiVersion = "v2" chartType = "application"