-
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
main
branch of thesustainable-computing-io/susql-operator
repository.
- Fork and clone
https://github.com/k8s-operatorhub/community-operators
- Create a directory in
operators/susql-operator
in yourcommunity-operators
fork that matches thesusql-operator/VERSION
file. e.g., if you are creating version0.0.42
thenmkdir operators/susql-operator/0.0.42
- Copy directory structure under the SusQL Operator Repo
susql-operator/bundle
to 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 push
in yourcommunity-operators
fork. - Click on the
contribute
button in your github community-operator fork, and follow the process to submit a pull request.