-
Notifications
You must be signed in to change notification settings - Fork 97
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
✨ Implement ignoreFields in server side apply #726
✨ Implement ignoreFields in server side apply #726
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiujian16 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
0575d30
to
eae7b9f
Compare
/hold |
aac9e2e
to
ad9643b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #726 +/- ##
==========================================
+ Coverage 63.33% 63.43% +0.09%
==========================================
Files 187 187
Lines 17921 17985 +64
==========================================
+ Hits 11351 11409 +58
- Misses 5635 5637 +2
- Partials 935 939 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
ad9643b
to
52a5ab8
Compare
LGTM |
52a5ab8
to
5ce6e8a
Compare
} | ||
} | ||
|
||
func TestServerSideApplyWithIgnoreFields(t *testing.T) { |
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.
Does it make sense if ignorefields is .metadata.xxx? For example, what if ignorefields is .metadata.annotations and type is IgnoreOnSpokePresent, will the existing annotations be kept on the spoke or be override by object-hash?
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.
it will be kept. We compute the hash for the whole object including metadata.
LGTM |
Signed-off-by: Jian Qiu <[email protected]>
5ce6e8a
to
99c10be
Compare
/unhold |
/lgtm |
0897da6
into
open-cluster-management-io:main
Summary
Related issue(s)
Fixes #690