-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix installer Ubuntu_20.04.3_x86-64 bug (#243)
* Fix installer Ubuntu_20.04.3_x86-64 bug Problem When running cli with os flag set to "Ubuntu_20.04.3_x86-64", installer returns "os k8s not supported". Installer is expected to support Ubuntu_20.04.*_x86-64 and treat them as Ubuntu_20.04.1_x86-64. Rootcause Installer runs a check whether there is at least one k8s for the os. It does so by using registry ListK8s. However the latter expects that its argument is an osBundle (Ubuntu_20.04.1_x86-64) as returned by registry ListOS. There is no os bundle for "Ubuntu_20.04.3_x86-64". Fix registry ListK8s needs to support 2 use-cases. First, when called with an actual OS to be mutated. Second, when called with list-supported which may be on a non supported OS. Extend registry ListK8s to use the os regex in addition to the os bundle. Extend registry to return the os bundle in addition to installer.
- Loading branch information
1 parent
c7321ed
commit 29c5b06
Showing
4 changed files
with
73 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters