-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance singleton script to handle all cases (#1301)
* added cert-manager delegation check Signed-off-by: Henry Li <[email protected]> * fixed CS version pre_req check Signed-off-by: Henry Li <[email protected]> * removed old migration check Signed-off-by: Henry Li <[email protected]> * changed singleton script to handle migrate, install, and upgrade Signed-off-by: Henry Li <[email protected]> * changed ibmlicensing backup to licensing ns Signed-off-by: Henry Li <[email protected]> * fixed fresh install by handling non-existent cert-manager CR Signed-off-by: Henry Li <[email protected]> * fixed incorrect function call 'warn' to 'warning' Signed-off-by: Henry Li <[email protected]> * fixed is_supports_delegation not handling cluster with no CS installed Signed-off-by: Henry Li <[email protected]> * fixed migration not handling empty parameters properly, e.g. --operator-namespace '' --control-namespace '' would fail because the value of --operator-namespace was incorrectly set to '--control-namespace' Signed-off-by: Henry Li <[email protected]> * fixed licensing not being upgraded if it exists already Signed-off-by: Henry Li <[email protected]> * added 4.x upgrade support for cert-manager Signed-off-by: Henry Li <[email protected]> * updated default channel to v4.1 fixed licensing operator migration by checking for existing subscription before updating because default subscription name created by scripts does not match what ODLM creates, leading to 2 different subscriptions for the same operator changed cert-manager 4.x upgrades to actually update subscription instead of just overwriting existing yaml Signed-off-by: Henry Li <[email protected]> --------- Signed-off-by: Henry Li <[email protected]>
- Loading branch information
Showing
3 changed files
with
178 additions
and
66 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