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: 49508

Change-Id: I5536e0bdd01999eb519d40b3e4bd5646fcdbd54e
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
This commit is contained in:
Igor Soares 2024-02-02 09:43:04 -03:00
parent da8553a429
commit 1008d7e981
2 changed files with 3 additions and 2 deletions

View File

@ -52,8 +52,6 @@
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-cert-manager/*
vars:
tox_envlist: metadata
tox_extra_args: -c python3-k8sapp-cert-manager/k8sapp_cert_manager/tox.ini

View File

@ -7,6 +7,9 @@ maintain_user_overrides: true
upgrades:
auto_update: true
supported_k8s_version:
minimum: 1.24.4
behavior:
platform_managed_app: yes
desired_state: applied