-
Notifications
You must be signed in to change notification settings - Fork 75
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
✨ Add an IgnoreFields option to select whether to override resource by mw #345
✨ Add an IgnoreFields option to select whether to override resource by mw #345
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 |
The option is to disable overrid resource on the spoke by manifestwork when the resource is changed by another actor on the spoke Signed-off-by: Jian Qiu <[email protected]>
26ec0c7
to
f777e4a
Compare
3d53e1d
to
dc501bb
Compare
Condition IgnoreFieldsCondition `json:"condition"` | ||
|
||
// JSONPaths defines the list of json path in the resource to be ignored | ||
JSONPaths []string `json:"jsonPaths"` |
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.
should this be a required field? if it is empty, what should we do?
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 do not think list can be required, but we could set the minItem to 1
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.
updated
Signed-off-by: Jian Qiu <[email protected]>
dc501bb
to
1d0a8b8
Compare
LGTM |
/lgtm |
05ff7c1
into
open-cluster-management-io:main
The option is to disable override resource on the spoke by manifestwork when the resource is changed by another actor on the spoke
Summary
Related issue(s)
Fixes #