@@ -9,7 +9,7 @@ This page is a developer guide about how to build an OCM add-on using addon-fram
99
1010## Supported version
1111
12- The OCM v0.14 .0 requires addon-framework v0.8.1 and above versions.
12+ The OCM v1.0 .0 requires addon-framework v0.9.3 and above versions.
1313
1414And notice there's breaking changes in [ automatic installation] ( #automatic-installation ) in addon-framework version v0.10.0.
1515
@@ -383,9 +383,8 @@ NOTE:
383383- The automatic installation is no longer supported since addon-framework v0.10.0. Please use the `InstallStrategy` in
384384[Managing the add-on agent lifecycle by addon-manager](#managing-the-add-on-agent-lifecycle-by-addon-manager) section
385385instead.
386- - The automatic installation is still avaliable in addon-framework version v0.8.1 and v0.9.3, which is also the
387- minimal supported addon-framework version in OCM v0.14.0. Using the addon-framework v0.8.0 and previous version will
388- have install conficts.
386+ - The automatic installation is still avaliable in addon-framework version v0.9.3, which is also the
387+ minimal supported addon-framework version in OCM v1.0.0. Using the previous version will have install conficts.
389388
390389In the busybox add-on example, you need to create a `ManagedClusterAddOn` CR to enable the add-on manually.
391390The addon-framework also provides a configuration called `InstallStrategy` to support installing addon automatically.
@@ -416,7 +415,7 @@ agentAddon, err := addonfactory.NewAgentAddonFactory(addonName, FS, "manifests")
416415 BuildTemplateAgentAddon()
417416` ` `
418417
419- Addtionally, if you are using addon-framework v0.8.1 or higher, need to grant a `patch` permission on `ClusterManagementAddon` to your addon manager.
418+ Addtionally, if you are using addon-framework v0.9.3 or higher, need to grant a `patch` permission on `ClusterManagementAddon` to your addon manager.
420419
421420` ` ` yaml
422421kind: ClusterRole
@@ -947,7 +946,7 @@ spec:
947946 maxConcurrency: 25%
948947` ` `
949948
950- Add-on developers can use addon-framework v0.8.0 and the above versions
949+ Add-on developers can use addon-framework v0.9.3 and the above versions
951950to support the scenarios mentioned above.
952951
9539521. Modify the `go.mod` file to use the latest addon-framework and API versions.
0 commit comments