-
Notifications
You must be signed in to change notification settings - Fork 698
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
Update kubelet event creation limit to 50 #10950
Update kubelet event creation limit to 50 #10950
Conversation
The kubelet event creation limit bumped from 5 to 50 in OCP CIS 1.4.0. The default value in OCP 4.14 was also bumpted from 5 to 50. This keeps the rule aligned with CIS and OCP. The value of 5 is still selectable via tailored profile.
@@ -30,6 +30,7 @@ selections: | |||
- cis_ocp_1_4_0:all | |||
### Variables | |||
- var_openshift_audit_profile=WriteRequestBodies | |||
- var_event_record_qps=50 |
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 is a bit superfluous, since the default value is being changed to 50
.
But this is more explicit though.
/test |
@rhmdnd: The
Use
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. |
/test e2e-aws-ocp4-cis |
The tests are running on
Should we actually change the the rule to pass if the event limit creation is higher than 5? |
I think we should remain aligned with the CIS guidance. We should update the test to show this fails for 4.13 (and we'll need to update it again when we start using 4.14 in CI). |
/test e2e-aws-ocp4-cis |
/retest |
/test e2e-aws-ocp4-cis Failure due to timeout. |
This rules default result is FAIL on 4.13. It will be PASS when CI is updated to 4.14.
08264dc
to
794fabc
Compare
/test e2e-aws-ocp4-cis |
Code Climate has analyzed commit 794fabc and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 53.3% (0.0% change). View more on Code Climate. |
This should be good to go. I also had to add |
@@ -1,2 +1,4 @@ | |||
--- | |||
default_result: PASS | |||
# This rule fails by default on 4.13, and passes by default on 4.14 | |||
default_result: FAIL |
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.
Ok - good to know. We'll need to flip this bit when we start using 4.14 in CaC CI
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
Description:
50
.5
is still selectable via tailored profile.Rationale:
This keeps the rule aligned with CIS and OCP.