Skip to content

📖 add guide for distributing Kubebuilder project #4884

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

rayowang
Copy link
Member

@rayowang rayowang commented Jun 25, 2025

Complete Fixes #4873

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 25, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rayowang
Once this PR has been reviewed and has the lgtm label, please assign camilamacedo86 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 25, 2025
@rayowang rayowang changed the title (book)feat: add guide for distributing Kubebuilder project Docs: add guide for distributing Kubebuilder project Jun 25, 2025
@rayowang rayowang changed the title Docs: add guide for distributing Kubebuilder project Docs: 📖 add guide for distributing Kubebuilder project Jun 25, 2025
@rayowang rayowang force-pushed the distributing-kubebuilder-project branch from 2f9805c to 52c8b03 Compare June 25, 2025 11:43
@rayowang rayowang changed the title Docs: 📖 add guide for distributing Kubebuilder project 📖 add guide for distributing Kubebuilder project Jun 25, 2025
@rayowang rayowang force-pushed the distributing-kubebuilder-project branch 2 times, most recently from 395224a to 7d53f01 Compare June 25, 2025 11:50
Copy link
Member

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

Thank you so much for your contribution 🥇
That's nice. I tried to add all comments in one go, and I hope that helps out.

@rayowang rayowang force-pushed the distributing-kubebuilder-project branch from 43ff10f to 01faa13 Compare June 27, 2025 04:03
@rayowang rayowang requested a review from camilamacedo86 June 27, 2025 04:07
@rayowang
Copy link
Member Author

/retest

@rayowang
Copy link
Member Author

/test pull-kubebuilder-e2e-k8s-1-31-4

@rayowang rayowang force-pushed the distributing-kubebuilder-project branch from ecb3432 to 772f907 Compare June 28, 2025 16:42
@rayowang
Copy link
Member Author

@camilamacedo86 @mateusoliveira43 Hi, Sorry, I didn’t know why the e2e tests kept timing out before, but it’s working fine now. If you have time, could you please help review it again to see if there are any issues? Thank you!

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 2, 2025
@rayowang rayowang force-pushed the distributing-kubebuilder-project branch from 2ab317d to 879ed1a Compare July 2, 2025 06:26
@rayowang
Copy link
Member Author

rayowang commented Jul 2, 2025

/test pull-kubebuilder-e2e-k8s-1-32-0

@rayowang rayowang requested a review from camilamacedo86 July 2, 2025 09:47
@rayowang
Copy link
Member Author

rayowang commented Jul 2, 2025

@camilamacedo86 Hi, Camila, currently, following the suggestions, I am focusing on ‘how to distribute operators built with Kubebuilder.’ I would appreciate it if you could review it when you have time.


This section would help users understand how to package and deliver their Kubebuilder-based Operators to end users.

## By Providing Operator SDK Bundle
Copy link
Member

Choose a reason for hiding this comment

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

Hi @rayowang,

Thank you so much for your effort on this — the current approach looks great!

I think it would be a good idea to include this in the FAQ section instead: https://book.kubebuilder.io/faq#faq, under a new question like:

"How to build a bundle with Kubebuilder-based projects to be managed by OLM and/or published in OperatorHub.io?"

Would you mind moving it there?
Also, can you please squash the commits? We can only merge them with one commit.

Thanks again! 🙏

Copy link
Member

@camilamacedo86 camilamacedo86 Jul 2, 2025

Choose a reason for hiding this comment

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

So, that we can try to be more focused in only a small info, yet ;-)

Comment on lines +82 to +86
## FAQ: How to Publish Your Project to OperatorHub.io / OKD / OCP Catalog

To publish your operator to public platforms like OperatorHub.io, OKD, or the OCP catalog, here are the steps you can follow:
1. OperatorHub.io: Follow the [OperatorHub.io Documentation](https://operatorhub.io/docs/) to submit your operator.
2. OKD/OCP Catalog: Refer to the [OKD or OCP documentation]((https://okd.io/docs/documentation/) ) for adding your operator to their catalogs.
Copy link
Member

Choose a reason for hiding this comment

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

Can we remove this part and link it in the question title?
Also, we should not speak about OCP/OKD, only OLM ( https://operator-framework.github.io/operator-controller/ )
By last check, all docs have the links as aliases; can we proceed as with the other ones?
The link is defined at the bottom of the pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Documentation on Distributing Projects Built with Kubebuilder with steps ( you will need to POC locally )
4 participants