Repository navigation
fix(kyverno): roll the reports controller through GitOps after the RBAC fix - #3779
Conversation
…AC fix The reports controller stayed up but idle after #3762 restored its read permission, and no PolicyReport has refreshed since 2026-08-27. Add a restart-generation pod annotation so a clean restart is a recorded Git change, and use it once to tell a stuck controller apart from a bug in this Kyverno version. Part of #3760 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…t annotation The restart-generation pod annotation changes the kyverno HelmRelease values, which the production authorization check fingerprints verbatim. Record the re-approval against main f83314c (previous aggregate 0270e54e): only the kyverno HelmRelease changes, the identity set and all 46 grant-bearing documents are identical, and a synthetic ClusterRole control proves the comparison detects a grant. The new aggregate is the value CI printed on the approved renderer. Part of #3760 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai review |
|
|
|
Warning Review limit reachedNext included review available in 59 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Readiness at
|
Why
Kyverno has produced no new policy reports since 2026-08-27, so the policy dashboard shows 17-day-old results and new workloads get no report at all. The missing permission behind it was fixed in #3762, but the reports controller stayed idle afterwards. The issue's next step is one clean restart, to learn whether the controller was simply stuck.
What
Rolls the reports controller once through Git, using a pod annotation that can be bumped again whenever a clean restart is needed. No chart or version change, so the result tells a stuck controller apart from a bug in this Kyverno version.
After the merge-queue deploy, the check on #3760 is: new pods get reports within minutes and results refresh within the hourly background scan. If the controller stays idle after a clean start, the next step is the Kyverno 3.9.1 bump.
Part of #3760