From 4a001833e66fa73475f2d268970a56022d3dca96 Mon Sep 17 00:00:00 2001 From: Igor Soares Date: Thu, 1 Feb 2024 15:37:13 -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 Story: 2010929 Task: 49500 Change-Id: I38d52f161946c616e82647401562577b4699c1f6 Signed-off-by: Igor Soares --- .zuul.yaml | 2 -- .../stx-ptp-notification-helm/files/metadata.yaml | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 9dd6788..dea13d1 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -104,8 +104,6 @@ - starlingx/update - starlingx/utilities - starlingx/root - files: - - python3-k8sapp-ptp-notification/* vars: tox_envlist: metadata tox_extra_args: -c python3-k8sapp-ptp-notification/k8sapp_ptp_notification/tox.ini diff --git a/stx-ptp-notification-helm/stx-ptp-notification-helm/files/metadata.yaml b/stx-ptp-notification-helm/stx-ptp-notification-helm/files/metadata.yaml index 9a3983c..c3fd877 100644 --- a/stx-ptp-notification-helm/stx-ptp-notification-helm/files/metadata.yaml +++ b/stx-ptp-notification-helm/stx-ptp-notification-helm/files/metadata.yaml @@ -7,5 +7,8 @@ maintain_user_overrides: true upgrades: auto_update: true +supported_k8s_version: + minimum: 1.24.4 + behaviour: platform_managed_app: true