From 0920df52515e00144155b3a99719370695ce4586 Mon Sep 17 00:00:00 2001 From: Igor Soares Date: Thu, 1 Feb 2024 15:41:33 -0300 Subject: [PATCH] Add minimum Kubernetes version supported Add the supported minimum Kubernetes version into 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: 49501 Change-Id: If381c9ed1d4317d96eb8e300cd31baccbb20327a Signed-off-by: Igor Soares --- .zuul.yaml | 2 -- .../stx-security-profiles-operator-helm/files/metadata.yaml | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index cde5fec..df4f15b 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -48,8 +48,6 @@ - starlingx/update - starlingx/utilities - starlingx/root - files: - - python3-k8sapp-security-profiles-operator/* vars: tox_envlist: metadata tox_extra_args: -c python3-k8sapp-security-profiles-operator/k8sapp_security_profiles_operator/tox.ini diff --git a/stx-security-profiles-operator-helm/stx-security-profiles-operator-helm/files/metadata.yaml b/stx-security-profiles-operator-helm/stx-security-profiles-operator-helm/files/metadata.yaml index 6fc097b..a529463 100644 --- a/stx-security-profiles-operator-helm/stx-security-profiles-operator-helm/files/metadata.yaml +++ b/stx-security-profiles-operator-helm/stx-security-profiles-operator-helm/files/metadata.yaml @@ -7,3 +7,6 @@ maintain_attributes: true upgrades: auto_update: true + +supported_k8s_version: + minimum: 1.24.4