config/sysinv/sysinv/sysinv/sysinv/cmd
Joshua Reed cecc1bb421 Provide helper CLI utility to check app K8s compatibility.
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>
2024-04-30 07:28:35 -06:00
..
__init__.py Deprecate sysinv.openstack.common.gettextutils 2019-11-04 10:04:20 -06:00
agent.py Replace openstack/service library with oslo_service 2023-02-23 15:04:11 -03:00
api.py Reraise exception and log error message 2019-07-10 09:19:05 +00:00
applications.py Provide helper CLI utility to check app K8s compatibility. 2024-04-30 07:28:35 -06:00
cert_alarm.py update license statements 2022-06-28 13:56:11 +00:00
cert_mon.py update license statements 2022-06-28 13:56:11 +00:00
conductor.py Replace openstack/service library with oslo_service 2023-02-23 15:04:11 -03:00
dbsync.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
dnsmasq_lease_update.py Replace openstack/context library by oslo_context 2023-02-24 16:17:30 -03:00
helm.py Remove armada and helm v2 2023-03-23 17:19:33 -03:00
ipsec_client.py Implement IPsec Cert-Renewal Operation 2024-03-08 12:24:02 -03:00
ipsec_server.py Add log messages to IPSec Auth Server and Client 2024-02-02 14:58:03 -03:00
platform.py Add cli command to wrap platform upgrade playbook 2022-09-15 13:31:34 -04:00
puppet.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
reset_n3000_fpgas.py Merge sysinv_fpga_agent with sysinv_agent 2022-10-03 14:12:28 -04:00
upgrade.py Skip sysinv load update for a USM upgrade 2023-12-04 20:07:34 +00:00
utils.py Add error message to system registry-image-delete 2023-10-05 10:29:29 -03:00