-
Notifications
You must be signed in to change notification settings - Fork 1.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: ConfigMap and other resources are replaced #2453
Conversation
Can one of the admins verify this patch? |
777c885
to
8dfbbea
Compare
- Reverted **behavior** of BaseOperation#createOrReplace method (and similar) to the previous behavior. API will always be hit, POST to try to create, and PUT in case POST fails. This reverts the behavior trying to mimic kubectl and not performing the second PUT request in case the resource is identical to the server version.
8dfbbea
to
aa651fa
Compare
@manusa I have the same issue... could we get an estimate for the next release featuring this patch? |
SonarCloud Quality Gate failed. 0 Bugs |
[merge] |
Patch should be available in https://github.com/fabric8io/kubernetes-client/releases/tag/v4.11.1 |
Thanks for the quick response... I have another issue that I hoped to be fixed by that code as well, but alas no! |
Sorry to hear that :( I hope is not too critical.
👍 |
Description
fix #2445 : ConfigMap and other resources are replaced
to the previous behavior.
API will always be hit, POST to try to create, and PUT in case POST fails.
This reverts the behavior trying to mimic kubectl and not performing
the second PUT request in case the resource is identical to the server version.
Type of change
test, version modification, documentation, etc.)
Checklist
I have added/updated the javadocs and other documentation accordingly