New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate add-ons to be managed by addon-manager #355
Labels
enhancement
New feature or request
Comments
@haoqing0110 Can you add a link to the code for |
This was referenced Jan 31, 2024
Merged
Merged
mprahl
pushed a commit
to mprahl/OCM
that referenced
this issue
Mar 14, 2024
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
This was referenced Mar 25, 2024
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement
In OCM v0.11.0, we introduced a new component called
addon-manager
to manage the add-on agent lifecycle. With this introduced, the addon agent has 2 ways to maintain the lifecycle:addon-manager
manage by definingspec.installStrategy
inClusterManagementAddOn
.To avoid conflict, we also introduced annotation
addon.open-cluster-management.io/lifecycle
inClusterManagementAddOn
to control whether the addon lifecycle is managed by self (framework) oraddon-manager
.The
addon-manager
is disabled by default in OCM v0.11.0 and add-on is by default managed by self.In OCM v0.12.0, the
addon-manager
is enabled by default and the addon is still default managed by self.In the future, we plan to make the addons by default managed by
addon-manager
, so here is the addon-framework and addon-manager roadmap and migration plan.OCM v0.12.0 (released)
addon-manager
supports the latest addon API.addon-manager
is default enabled.addon-framework
).addon-framework 0.8.0 (released)
OCM v0.13.0 (released)
addon-framework
).Addon-framework 0.9.0 (released)
addon.open-cluster-management.io/lifecycle: self
if the addon callsWithInstallStrategy()
.patch
permission onClusterManagementAddon
.Addon-framework 0.8.1 (released)
addon.open-cluster-management.io/lifecycle: self
if the addon callsWithInstallStragegy()
.patch
permission onClusterManagementAddon
.OCM v0.14.0
addon-framework
).Addon-manager
will add annotationaddon.open-cluster-management.io/lifecycle: addon-manager
ifself
is not set.Addon-framework 0.10.0
addon.open-cluster-management.io/lifecycle: self
.OCM future
addon-manager
.The text was updated successfully, but these errors were encountered: