Skip to content
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

fix!: Default to auditScanner.outputScan=false #384

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

viccuad
Copy link
Member

@viccuad viccuad commented Feb 9, 2024

Description

For big clusters with big (Cluster)PolicyReports, it is cost-prohibitive to print them as info logs in the auditScanner Jobs.

Change auditScanner.outputScan as opt-in, with false as default.

Bump kubewarden-controller chart to version 2.0.8.

Test

CI

Additional Information

This is a breaking change. I have considered shipping it as a minor release instead and I am undecided. Nevertheless, it should be documented in changelog and notified.

Tradeoff

Potential improvement

For big clusters with big (Cluster)PolicyReports, it is
cost-prohibitive to print them as `info` logs in the auditScanner
Jobs.

Change `auditScanner.outputScan` as opt-in, with false as default.

Signed-off-by: Víctor Cuadrado Juan <[email protected]>
This is because of the change of auditScanner.outputScan to opt-in,
false as default.

Signed-off-by: Víctor Cuadrado Juan <[email protected]>
@viccuad viccuad added kind/bug Something isn't working kind/breaking-change labels Feb 9, 2024
@viccuad viccuad self-assigned this Feb 9, 2024
@viccuad viccuad requested a review from a team as a code owner February 9, 2024 12:51
@viccuad
Copy link
Member Author

viccuad commented Feb 9, 2024

The new patch release of controller entails the following, which is all fine:
kubewarden-controller-2.0.7...viccuad:helm-charts:outputscan-optin

@viccuad viccuad merged commit 308d621 into kubewarden:main Feb 9, 2024
3 checks passed
@viccuad viccuad deleted the outputscan-optin branch February 9, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/breaking-change kind/bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants