Skip to content

[BugFix] use Patch not Update to modify service object #387

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

Conversation

yandongxiao
Copy link
Collaborator

@yandongxiao yandongxiao commented Jan 5, 2024

Fixes: #384

This is an update strategy based on the JSON Merge Patch standard. JSON Merge Patch merges the submitted JSON object into the existing resource object. If a field exists in the submitted JSON object, then the value of this field in the resource object will be replaced. If a field does not exist in the submitted JSON object, then the value of this field in the resource object will remain unchanged.

@yandongxiao yandongxiao requested a review from dengliu January 5, 2024 03:30
@yandongxiao yandongxiao merged commit 5ee1ac0 into StarRocks:main Jan 5, 2024
@dengliu
Copy link
Collaborator

dengliu commented Jan 5, 2024

@yandongxiao when will be a new version of helm chart release that contains this fix? Thanks!

@yandongxiao
Copy link
Collaborator Author

In the next one to two weeks.

@yandongxiao yandongxiao added v1.9.1 bugfix fix something that does not work labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix fix something that does not work v1.9.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Operator should skip syncing the fields that is not defined in the CRD
2 participants