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: Apply application

Story: 2010929
Task: 49496

Change-Id: Ib64aed788607c1c650e80c11476219f08bc8bfaf
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
This commit is contained in:
Igor Soares 2024-02-01 13:06:43 -03:00
parent c4391f99d2
commit fb4bf32cf0
2 changed files with 6 additions and 4 deletions

View File

@ -48,8 +48,6 @@
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-metrics-server/*
vars:
tox_envlist: metadata
tox_extra_args: -c python3-k8sapp-metrics-server/k8sapp_metrics_server/tox.ini

View File

@ -5,6 +5,10 @@ helm_repo: HELM_REPLACE_REPO
maintain_user_overrides: true
upgrades:
auto_update: true
auto_update: true
supported_k8s_version:
minimum: 1.24.4
behavior:
platform_managed_app: yes
platform_managed_app: yes