-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add command argument to the daemon which allows to disable profile recorder controller #1290
Add command argument to the daemon which allows to disable profile recorder controller #1290
Conversation
/assign @saschagrunert |
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.
Would you also agree with enabling or disabling the controller with an environment variable? I'm thinking this way because of OLM installs where it's very easy to pass an environment variable to the operator through a Subscription
object.
Also two nits - I think this should be a |
I'll add an environment variable in addition. What do you think? |
I'll do this and also try to add a test. |
50fbbf5
to
b554a66
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1290 +/- ##
==========================================
+ Coverage 43.92% 43.99% +0.06%
==========================================
Files 49 49
Lines 5514 5576 +62
==========================================
+ Hits 2422 2453 +31
- Misses 2972 3004 +32
+ Partials 120 119 -1 |
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.
Tiny nits, apart from that it is a lgtm from me. Thanks for working on this @ccojocar 🙇.
239a972
to
0f58aff
Compare
/test all |
3e5d10e
to
4c61035
Compare
…corder controller
4c61035
to
3f98462
Compare
/retest |
/retest |
@jhrozek @pjbgf @saschagrunert all checks passed now, please could you have a look at this pull request? Thanks |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ccojocar, saschagrunert 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds an command argument to the daemon which allows to disable the profile recorder controller when neither bpf-recorder or log-enricher are enabled.
Which issue(s) this PR fixes:
Does this PR have test?
Special notes for your reviewer:
Does this PR introduce a user-facing change?