Skip to content
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

update addon develop guide #410

Merged

Conversation

haoqing0110
Copy link
Member

@openshift-ci openshift-ci bot requested review from dhaiducek and mprahl March 26, 2024 10:47
@haoqing0110
Copy link
Member Author

/hold

Signed-off-by: haoqing0110 <qhao@redhat.com>
@haoqing0110
Copy link
Member Author

/unhold

@haoqing0110
Copy link
Member Author

/assign @qiujian16 @zhiweiyin318

@zhiweiyin318
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 28, 2024
@@ -11,6 +11,12 @@ This page is a developer guide about how to build an OCM add-on using addon-fram

<!-- spellchecker-enable -->

## Supported version

The OCM v0.14.0 requires addon-framework v0.8.1 and above versions.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have not released yet. This annoucement should be noted only we are about to release

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modified the doc to only focus on the released version. will create and hold another PR for v0.14.0.

@@ -394,6 +404,34 @@ agentAddon, err := addonfactory.NewAgentAddonFactory(addonName, FS, "manifests")
BuildTemplateAgentAddon()
```

Addtionally, need to grant a `patch` permission on `ClusterManagementAddon` to your addon manager.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the requirement for 0.8.1, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and 0.9.0 as well. Have updated the content.

@openshift-ci openshift-ci bot removed the lgtm label Mar 28, 2024
Signed-off-by: haoqing0110 <qhao@redhat.com>
Co-authored-by: Jian Qiu <jqiu@redhat.com>
Signed-off-by: haoqing0110 <qhao@redhat.com>
@qiujian16
Copy link
Member

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 28, 2024
Copy link
Contributor

openshift-ci bot commented Mar 28, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: haoqing0110, qiujian16

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 16e9339 into open-cluster-management-io:main Mar 28, 2024
3 checks passed
@haoqing0110 haoqing0110 deleted the br_addon-dev branch March 28, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants