We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5878c9 commit 305b585Copy full SHA for 305b585
pkg/client/patch.go
@@ -28,7 +28,10 @@ import (
28
var (
29
// Apply uses server-side apply to patch the given object.
30
//
31
- // Deprecated: Use client.Client.Apply() instead.
+ // This should now only be used to patch sub resources, e.g. with client.Client.Status().Patch().
32
+ // Use client.Client.Apply() instead of client.Client.Patch(..., client.Apply, ...)
33
+ // This will be deprecated once the Apply method has been added for sub resources.
34
+ // See the following issue for more details: https://github.com/kubernetes-sigs/controller-runtime/issues/3183
35
Apply Patch = applyPatch{}
36
37
// Merge uses the raw object as a merge patch, without modifications.
0 commit comments