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
chore: Add IgnoreResourceStatusField field to DiffOptions #60
Conversation
Codecov Report
@@ Coverage Diff @@
## master #60 +/- ##
=======================================
Coverage 52.49% 52.49%
=======================================
Files 25 25
Lines 2585 2585
=======================================
Hits 1357 1357
Misses 1100 1100
Partials 128 128
Continue to review full report at Codecov.
|
6163be5
to
3814206
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
I think we should also provide a list of valid options for IgnoreResourceStatusField
in something like an additional type
, which in turn should also be used in the ArgoCD consumer. What do you think?
I thought about it, but then thought not all consumers of this library would want to abide by that classification. If it's a string field, they can use it in a way that fits their semantics. What do you think? |
Hm yes, that's a good point. But now I'm also thinking about whether we should rather move the whole functionality into gitops-engine, instead of making it an argo-cd feature with a "dead" switch in gitops-engine. Or should we move the diff options (and its current features) to argo-cd? |
Instead of adding an unused field, I would suggest adding data structure that inherits |
This can be done in |
sure @darshanime . lets close this PR and implement changes in Argo CD |
cool, thanks for comments, closing |
Can be used to ignore
/status
of the objects.See argoproj/argo-cd#3754