-
Notifications
You must be signed in to change notification settings - Fork 40
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
OCPVE-760: Save lvmd config to a configmap instead of a file #480
Conversation
Skipping CI for Draft Pull Request. |
/test all |
1d5bd2a
to
91f9b98
Compare
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.
Looks great :)
Just one question: what happens with lvmd when the file / configmap is gone?
If you interact with config maps in the controller (especially if you do it on every reconciel), I think you should cache them and restrict the cache to the namespace that the operator is deployed in. Even if lvmd works fine still, we probably need to add a watch to namespaced config maps to react and reconcile in case of deletion requests?
Other than that we are good to go I think 🚀
91f9b98
to
c686c0d
Compare
@suleymanakbas91: This pull request references OCPVE-760 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. In response to this: 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. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #480 +/- ##
==========================================
+ Coverage 81.93% 82.17% +0.24%
==========================================
Files 24 24
Lines 1771 1784 +13
==========================================
+ Hits 1451 1466 +15
+ Misses 219 218 -1
+ Partials 101 100 -1
|
c686c0d
to
aa744c6
Compare
Signed-off-by: Suleyman Akbas <[email protected]>
aa744c6
to
faed224
Compare
@suleymanakbas91: This pull request references OCPVE-760 which is a valid jira issue. In response to this:
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. |
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.
/lgtm
💯
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jakobmoellerdev, suleymanakbas91 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 |
/retest |
@suleymanakbas91: all tests passed! Full PR test history. Your PR dashboard. 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. |
This PR changes the way how VG Manager supplies lvmd config to TopoLVM Node. The config file was saved as a file on the host before. Now, VG Manager creates a ConfigMap that is mounted to TopoLVM Node. This way, TopoLVM does not need the
file-checker
init-container anymore, hence it is deleted.