Open prune998 opened 1 year ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication
Attention: 30 lines
in your changes are missing coverage. Please review.
Comparison is base (
4a5648e
) 54.70% compared to head (518494f
) 54.36%. Report is 1 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
pkg/cache/cluster.go | 0.00% | 26 Missing :warning: |
pkg/sync/sync_context.go | 82.60% | 2 Missing and 2 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This code compares cached CRD to the new MODIFICATION event and skip reconciling the CRD if the change is trivial.
Here's what changes in the CRD in a GKE cluster where the
addon-manager
keeps patching some CRDs:This PR just stop tracking those changes and fully skip the CRD reconciliation.
In case a real change is made to the CRD, the normal behavious applies: