From a40152ae6f3e258fc9a44c33a31b7a06779602c0 Mon Sep 17 00:00:00 2001 From: Igor Soares Date: Thu, 1 Feb 2024 15:25:31 -0300 Subject: [PATCH] Add minimum Kubernetes version supported Add the minimum Kubernetes version supported to the application metadata file. The minimum Kubernetes version is set to 1.24.4 and should be changed accordingly for future application updates. The "supported_k8s_version:minimum" field is optional but it will become mandatory in the near future. This also contains a fix to properly trigger the Tox metadata checks. Test Plan PASS: build-pkgs && build-image PASS: Apply application Story: 2010929 Task: 49498 Change-Id: I743e0c4e7b28e28a2338b2942854c4fb61050de6 Signed-off-by: Igor Soares --- .zuul.yaml | 2 -- stx-oran-o2-helm/stx-oran-o2-helm/files/metadata.yaml | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index a2fb790..f37e760 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -50,8 +50,6 @@ - starlingx/update - starlingx/utilities - starlingx/root - files: - - python3-k8sapp-oran-o2/* vars: tox_envlist: metadata tox_extra_args: -c python3-k8sapp-oran-o2/k8sapp_oran_o2/tox.ini diff --git a/stx-oran-o2-helm/stx-oran-o2-helm/files/metadata.yaml b/stx-oran-o2-helm/stx-oran-o2-helm/files/metadata.yaml index cb1720d..4f9ab1d 100644 --- a/stx-oran-o2-helm/stx-oran-o2-helm/files/metadata.yaml +++ b/stx-oran-o2-helm/stx-oran-o2-helm/files/metadata.yaml @@ -7,6 +7,9 @@ helm_repo: HELM_REPLACE_REPO upgrades: auto_update: true +supported_k8s_version: + minimum: 1.24.4 + behavior: platform_managed_app: yes evaluate_reapply: