-
Notifications
You must be signed in to change notification settings - Fork 94
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
Allow addons to be installed by label, but also manually #616
Comments
cc @qiujian16 |
I'm not sure I understand the "Placements" install strategy - will this work for a label? Or would someone need to create a placement that then looks for a label selector? |
With "Placements" install strategy, you will need to create 2 resources as below, 1 cma and 1 placement with label selector.
|
I think this also breaks my current scenario where I have already allowed customers to deploy via setting a specific label on their managedclusters - now they would have to create those resources in order to be able to use a label selector (or I would need to always create the CMA & placement myself - which could be problematic if they already have their own CMA with other settings). |
@tesshuflower yes, this is indeed the "expected" breaking changes when upgrading to v0.10.0. Another option to keep the current user behavior while upgrading to v0.10.0 might be to set installStrategy type as Manual, and implement your own controller to install the mca. |
Describe the enhancement
I'm considering this an enhancement request, but we do have some functionality that was removed between v0.9.0 and v0.10.0 of the
addon-framework
.Essentially my use-case (for the ACM volsync-addon-controller which uses the addon-framework) is that users are able to deploy the addon to managed clusters in 2 ways:
ManagedCluster
resource, and then theManagedClusterAddOn
resource is created automatically for them in the managedcluster namespace on the hub.ManagedClusterAddOn
.This has been the case for quite a few ACM releases.
To achieve this, I have the following in my addon setup:
but now in v0.10.0 the InstallByLabelStrategy has been removed.
Is there something I can do to get this functionality back? For the meantime I'm not updating to the addon-framework v0.10.0.
The text was updated successfully, but these errors were encountered: