-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Addons: add OLM support #8129
Addons: add OLM support #8129
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Welcome @blues-man! |
Hi @blues-man. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: blues-man 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 |
Can one of the admins verify this patch? |
/check-cla |
@blues-man thank you for this contribution. and also make sure by default this addon is not enabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems like a good addon to add. please resolve the comments
Hi @medyagh thanks for review, I updated the comment on the PR description. I also believe it could be a good addon, because it could also optimize the number of addon request, if they are present on OperatorHub.io they can be installed directly from this addon. |
Hey @blues-man thanks for submitting this PR. I think this change is big enough to warrant an integration test. Would you mind writing one? The test would:
You can add A lot of the code from TestAddons can be copied into Docs for quickly running an integration test locally can be found here. Please let me know if you have any questions! |
Hi @priyawadhwa, right, it makes sense to add those, thanks for the documentation! |
/ok-to-test |
Hello @priyawadhwa , I've added a I'm checkin that all deployments and pods are up and running into Let me know what do you think about, this is output I got from test I run:
|
kvm2 Driver |
Is there any way to define an order or a custom sequence when disabling an addon? When I try to disable it I got error because |
Codecov Report
@@ Coverage Diff @@
## master #8129 +/- ##
==========================================
- Coverage 35.27% 34.50% -0.77%
==========================================
Files 146 147 +1
Lines 9326 9412 +86
==========================================
- Hits 3290 3248 -42
- Misses 5637 5765 +128
Partials 399 399
|
Enable olm and install etcd operator checking successful installation
kvm2 Driver Times for Minikube (PR 8129): [66.657461135 67.29643341100001 63.399033846] Averages Time Per Log
docker Driver Times for Minikube (PR 8129): [27.900685975000002 25.515968625 25.970571450999998] Averages Time Per Log
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for adding this addon and adding integration tests for it
Adding OLM support as addon, fixes #6419
Using latest version
0.14.1
as per latest yamls available, I'm wondering if there is any way to avoid hardcoding versions in addons in cases where versions are in the code like inolm.yaml
Simulating OLM installation script
Example of usage:
Expected output:
Install your favourite Operator, you can pick one from OperatorHub and follow Operator documentation to install it, skipping the OLM installation since you did it already from Minikube una tantum for all new operators you would like to install.
Example for etcd:
By default the olm addon is disabled: