-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-13150] Move sshUser/Port at bundle details level
Summary: Previously, we were having sshUser/Port Override information at bundle->details->region->info level, which would make more sense at bundle->details level. This diff changes the same, also marking the previous behaviour as deprecated. Also, brings back old logic of saving arch at region level that will still be used in case `yb.provider.vm_os_patching` is not set. Will remove that bit once the above flag is turned on by default. Adds fine grained check while editing the in use bundles. We will allow only addition of new region AMI details in the bundle, otherwise information like sshUser/Port cannot be modified for in use bundle. Test Plan: Created a provider using old/new payload. Ensured that the details are stored as per the desired format. Performed OS patching. Performed Day2 operations. Tried modifying the used bundle (both via Provider PUT/ Image Bundle PUT) - verified that it failed. Took portal backup - ran migration against it. Reviewers: #yba-api-review, sneelakantan, amalyshev Reviewed By: #yba-api-review, amalyshev Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D33205
- Loading branch information
Showing
12 changed files
with
312 additions
and
42 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
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
Oops, something went wrong.