-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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: Correctly calculate diffs for CRDs with ignore overrides #9092
Conversation
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Codecov Report
@@ Coverage Diff @@
## master #9092 +/- ##
==========================================
- Coverage 45.48% 45.46% -0.02%
==========================================
Files 217 217
Lines 25655 25667 +12
==========================================
+ Hits 11669 11670 +1
- Misses 12357 12371 +14
+ Partials 1629 1626 -3
Continue to review full report at Codecov.
|
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!
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
…oj#9092) * fix: Correctly calculate diffs for CRDs with ignore overrides Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix unit-test Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix typo Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Better test-case description Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> Signed-off-by: wojtekidd <wojtek.cichon@protonmail.com>
Signed-off-by: Leonardo Luz Almeida leonardo_almeida@intuit.com
There was a problem when checking the ignore difference configuration for CRDs manifests. The problem is related to the fact that all CRDs will be automatically configured with resource overrides and that configuration was making application diff configs to be discarded. This PR will, instead, merge all diff configs available in settings with the Application's ones and use that merged object to determine how to calculate diffs.
This PR partially addresses the issue reported in #9071
Checklist: