Skip to content

Commit c8449ac

Browse files
committed
update supported addon-framework version
Signed-off-by: Qing Hao <qhao@redhat.com>
1 parent ddf9520 commit c8449ac

File tree

1 file changed

+5
-6
lines changed
  • content/en/docs/developer-guides

1 file changed

+5
-6
lines changed

content/en/docs/developer-guides/addon.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

1414
And 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
385385
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.
389388

390389
In the busybox add-on example, you need to create a `ManagedClusterAddOn` CR to enable the add-on manually.
391390
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")
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
422421
kind: 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
951950
to support the scenarios mentioned above.
952951

953952
1. Modify the `go.mod` file to use the latest addon-framework and API versions.

0 commit comments

Comments
 (0)