Closed EstebanBorai closed 2 months ago
Clippy issues addressed here: https://github.com/infinyon/k8-api/pull/309
So if you pass
PatchMergeType::Apply
topatch_status
it will always fail?
Gotcha!
Now I have moved the params forApply
to be fields for the PatchMergeType::Apply
variant.
Also make use of patch_subresource
inside of patch_status
, this way patch_status
is a wrapper on patch_subresource that only updates the status
subresource.
Provides a content type support for
Apply
as suggested here https://kubernetes.io/docs/reference/using-api/server-side-apply/#serialization to provide Server-Side Apply.