@@ -9,7 +9,7 @@ This page is a developer guide about how to build an OCM add-on using addon-fram
9
9
10
10
## Supported version
11
11
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.
13
13
14
14
And notice there's breaking changes in [ automatic installation] ( #automatic-installation ) in addon-framework version v0.10.0.
15
15
@@ -383,9 +383,8 @@ NOTE:
383
383
- The automatic installation is no longer supported since addon-framework v0.10.0. Please use the `InstallStrategy` in
384
384
[Managing the add-on agent lifecycle by addon-manager](#managing-the-add-on-agent-lifecycle-by-addon-manager) section
385
385
instead.
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.
389
388
390
389
In the busybox add-on example, you need to create a `ManagedClusterAddOn` CR to enable the add-on manually.
391
390
The addon-framework also provides a configuration called `InstallStrategy` to support installing addon automatically.
@@ -416,7 +415,7 @@ agentAddon, err := addonfactory.NewAgentAddonFactory(addonName, FS, "manifests")
416
415
BuildTemplateAgentAddon()
417
416
` ` `
418
417
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.
420
419
421
420
` ` ` yaml
422
421
kind: ClusterRole
@@ -947,7 +946,7 @@ spec:
947
946
maxConcurrency: 25%
948
947
` ` `
949
948
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
951
950
to support the scenarios mentioned above.
952
951
953
952
1. Modify the `go.mod` file to use the latest addon-framework and API versions.
0 commit comments