From 7b848a24cbe98da4c5da6931909cd1a1c859c451 Mon Sep 17 00:00:00 2001 From: Igor Soares Date: Fri, 2 Feb 2024 10:00:20 -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: AIO-SX fresh install PASS: Apply application Story: 2010929 Task: 49510 Change-Id: I8c75a95b6cead02a36ac8bead99cbc10b4c875b8 Signed-off-by: Igor Soares --- .zuul.yaml | 2 -- .../stx-nginx-ingress-controller-helm/files/metadata.yaml | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index def5e62..c63642b 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -69,8 +69,6 @@ - starlingx/update - starlingx/utilities - starlingx/root - files: - - python3-k8sapp-nginx-ingress-controller/* vars: tox_envlist: metadata tox_extra_args: -c python3-k8sapp-nginx-ingress-controller/k8sapp_nginx_ingress_controller/tox.ini diff --git a/stx-nginx-ingress-controller-helm/stx-nginx-ingress-controller-helm/files/metadata.yaml b/stx-nginx-ingress-controller-helm/stx-nginx-ingress-controller-helm/files/metadata.yaml index 80a9083..ba9f35a 100644 --- a/stx-nginx-ingress-controller-helm/stx-nginx-ingress-controller-helm/files/metadata.yaml +++ b/stx-nginx-ingress-controller-helm/stx-nginx-ingress-controller-helm/files/metadata.yaml @@ -7,6 +7,9 @@ maintain_user_overrides: true upgrades: auto_update: true +supported_k8s_version: + minimum: 1.24.4 + behavior: forbidden_manual_operations: - delete