From 419816d74a38e978a2743365052073719dc0cc8b Mon Sep 17 00:00:00 2001 From: Igor Soares Date: Thu, 1 Feb 2024 15:30:08 -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: 49499 Change-Id: I817f46f247c8de3dc2d25ad2c5b8e53e764649f7 Signed-off-by: Igor Soares --- .zuul.yaml | 2 -- stx-portieris-helm/stx-portieris-helm/files/metadata.yaml | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index a99b354..1cea86b 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -86,8 +86,6 @@ - starlingx/update - starlingx/utilities - starlingx/root - files: - - python3-k8sapp-portieris/* vars: tox_envlist: metadata tox_extra_args: -c python3-k8sapp-portieris/k8sapp_portieris/tox.ini diff --git a/stx-portieris-helm/stx-portieris-helm/files/metadata.yaml b/stx-portieris-helm/stx-portieris-helm/files/metadata.yaml index ae3ddb7..23edf51 100644 --- a/stx-portieris-helm/stx-portieris-helm/files/metadata.yaml +++ b/stx-portieris-helm/stx-portieris-helm/files/metadata.yaml @@ -3,5 +3,9 @@ app_version: APP_REPLACE_VERSION helm_repo: HELM_REPLACE_REPO maintain_user_overrides: true + upgrades: auto_update: true + +supported_k8s_version: + minimum: 1.24.4