-
Notifications
You must be signed in to change notification settings - Fork 1
Tips on updating OperatorHub
Scott Trent edited this page Jun 6, 2024
·
3 revisions
After making changes to the SusQL Operator, we will want to then update the images available from the Community OperatorHub. (Tip: if you have been testing with images and files pushed to your personal repository, be sure that the bundle yaml files you will push to OperatorHub no longer container references to your personal repository.)
- Bump up the version in
susql-operator/VERSION make bundle- Push updated files to the
mainbranch of thesustainable-computing-io/susql-operatorrepository.
- Fork and clone
https://github.com/k8s-operatorhub/community-operators - Create a directory in
operators/susql-operatorin yourcommunity-operatorsfork that matches thesusql-operator/VERSIONfile. e.g., if you are creating version0.0.42thenmkdir operators/susql-operator/0.0.42 - Copy directory structure under the SusQL Operator Repo
susql-operator/bundleto the community operator Repooperators/susql-operator/<yourversion>e.g.,cd ~git/<YOUROPERATORHUBFORK>/operators/susql-operator/0.0.42 && cp -r ~/git/susql-operator/bundle/* . - Do the usual
git add,git commit -sm,git pushin yourcommunity-operatorsfork. - Click on the
contributebutton in your github community-operator fork, and follow the process to submit a pull request.