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

Change-Id: I6ab60ef85e7b84e3a7576325ebfa5d31fb1a60f5
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
This commit is contained in:
Igor Soares 2024-02-02 11:10:43 -03:00
parent 4701611c6c
commit 078ac1d7ce
2 changed files with 3 additions and 2 deletions

View File

@ -63,8 +63,6 @@
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-kubernetes-power-manager/*
vars:
tox_envlist: metadata
tox_extra_args: -c python3-k8sapp-kubernetes-power-manager/k8sapp_kubernetes_power_manager/tox.ini

View File

@ -12,6 +12,9 @@ maintain_user_overrides: true
upgrades:
auto_update: true
supported_k8s_version:
minimum: 1.24.4
behavior:
platform_managed_app: yes
evaluate_reapply: