Skip to content

chore!: Don't install wgpolicyk8s reports by default#1548

Merged
viccuad merged 1 commit intokubewarden:mainfrom
viccuad:charts/dont-install-policyreports
Mar 4, 2026
Merged

chore!: Don't install wgpolicyk8s reports by default#1548
viccuad merged 1 commit intokubewarden:mainfrom
viccuad:charts/dont-install-policyreports

Conversation

@viccuad
Copy link
Copy Markdown
Member

@viccuad viccuad commented Mar 4, 2026

Description

This is part of the migration to new OpenReports.io.

Users that want to keep using them must both:

  • Set .Values.installPolicyReportCRDs to true for kubewarden-crds chart
  • Set .Values.auditScanner.reportCRDsKind to policyreport for kubewarden-controller chart

Test

CI.

Performed a manual helm upgrade of kubewarden-crds with this PR, which of course means that old PolicyReports CRDs were removed.

Additional Information

Tradeoff

Potential improvement

This is part of the migration to new OpenReports.io.

Users that want to keep using them must both:
- Set .Values.installPolicyReportCRDs to true for kubewarden-crds chart
- Set .Values.auditScanner.reportCRDsKind to policyreport for kubewarden-controller chart

Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
@viccuad
Copy link
Copy Markdown
Member Author

viccuad commented Mar 4, 2026

e2e tests expectedly fail as they try to check that audit-scanner removes old PolicyReports in this test.

This PR fixes it: kubewarden/kubewarden-end-to-end-tests#272

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.01%. Comparing base (b08beb9) to head (07e251d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1548      +/-   ##
==========================================
+ Coverage   75.05%   80.01%   +4.96%     
==========================================
  Files         170      127      -43     
  Lines       21059    16570    -4489     
==========================================
- Hits        15805    13258    -2547     
+ Misses       5040     3312    -1728     
+ Partials      214        0     -214     
Flag Coverage Δ
go-tests ?
rust-tests 80.01% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@viccuad viccuad merged commit 0b813ed into kubewarden:main Mar 4, 2026
32 of 33 checks passed
@github-project-automation github-project-automation Bot moved this from Pending review to Done in Kubewarden Admission Controller Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants