Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-13681] Generate YBA Managed bundles in case the provider contai…
…ns legacy bundles Summary: Before the VM_OS_Patching flag is enabled we do not set the versions in the `yugaware_property` because of which the bundles were not getting generated even in case YBA moved to a higher version. With this diff, we fix the same & generates the bundle. 1. If the version specified in the `yugaware_property` does not match the one present in `CloudImageBundleSetup`. 2. Bundles are legacy one without the metadata. Test Plan: Created a provider in YBA 2.18 Migrated the same to the YBA version having the patch applied. Verified that the bundles are getting generated as expected. Changed the version in YBA metadata manually Verified that the bundles are generated as expected. Reviewers: amalyshev Reviewed By: amalyshev Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D34469
- Loading branch information
Showing
2 changed files
with
41 additions
and
16 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