Add a CLI tool which will allow a developer to learn which
apps are compatible between the current K8s on the platform
and the target version specified. There are also safeguards
to prevent the user from supplying an invalid target K8s
version.
Add an --include-path option to provide the full file path
instead of simply the app name in the output
Usage:
sysinv-app query <target-k8s-version> [Optional: --include-path]
Output:
app_name_1
app_name_2
Output with --include-path:
/some/path/app_name_1.ver.tgz
/another/path/app_name_2.var.tgz
Depends-On: https://review.opendev.org/c/starlingx/config/+/909172
Test Plan:
PASS: Vary the current K8S installed on the platform
and manually modify the minimum/maximum K8s version
for an app in the KubAppBundle table. Verify that
the correct app list prints to terminal.
Story: 2010929
Task: 49875
Change-Id: Ie8dfb8cff9a587f9b52f8d94f7dd089c46dd5d63
Signed-off-by: Joshua Reed <joshua.reed@windriver.com>