Skip to content

Commit 84d072e

Browse files
author
Tim Bannister
committed
Note that CRDs don't support Strategic Merge Patch
(the custom API that is, not the CustomResourceDefinition itself)
1 parent 797f0e6 commit 84d072e

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

content/en/docs/reference/using-api/api-concepts.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -984,13 +984,17 @@ corresponding HTTP `Content-Type` header:
984984

985985
`application/strategic-merge-patch+json`
986986
: Strategic Merge Patch (a Kubernetes-specific extension based on JSON).
987-
Strategic Merge Patch is a custom implementation of JSON Merge Patch.
988-
To Kubernetes, this is a **patch** operation.
987+
Strategic Merge Patch is a custom implementation of JSON Merge Patch.
988+
You can only use Strategic Merge Patch with built-in APIs, or with aggregated
989+
API servers that have special support for it. You cannot use
990+
`application/strategic-merge-patch+json` with any API
991+
defined using a {{< glossary_tooltip term_id="CustomResourceDefinition" text="CustomResourceDefinition" >}}.
992+
993+
{{< note >}}
994+
The Kubernetes _server side apply_ mechanism has superseded Strategic Merge
995+
Patch.
996+
{{< /note >}}
989997

990-
{{< note >}}
991-
The Kubernetes _server side apply_ mechanism has superseded Strategic Merge
992-
Patch.
993-
{{< /note >}}
994998

995999
Kubernetes' [Server Side Apply](/docs/reference/using-api/server-side-apply/)
9961000
feature allows the control plane to track managed fields for newly created objects.

0 commit comments

Comments
 (0)