In preparation for supporting kubernetes upgrades, I am adding the
following CLIs (and REST APIs) to show the supported kubernetes
versions and their state in the system:
+---------+--------+-----------+
| version | target | state |
+---------+--------+-----------+
| v1.16.2 | True | active |
+---------+--------+-----------+
+-------------------+-----------+
| Property | Value |
+-------------------+-----------+
| applied_patches | [] |
| available_patches | [] |
| downgrade_to | [] |
| state | active |
| target | True |
| upgrade_from | [] |
| version | v1.16.2 |
+-------------------+-----------+
This also includes new utitilies to query version info from the
kubernetes API and a set of unit tests for the new code.
Change-Id: I0dc4ece131daeb8cbce3e621e18b93276b2324ff
Story: 2006590
Task: 36724
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>