Skip to content

Commit d846df4

Browse files
authored
Merge pull request #45863 from pegasas/issues/45751
Explain SSA JSON/YAML compatibility bug
2 parents 70ff13f + ddeb207 commit d846df4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/en/docs/reference/using-api/server-side-apply.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ as [YAML](https://yaml.org/), with the media type `application/apply-patch+yaml`
196196
Whether you are submitting JSON data or YAML data, use
197197
`application/apply-patch+yaml` as the `Content-Type` header value.
198198

199-
All JSON documents are valid YAML.
199+
All JSON documents are valid YAML. However, Kubernetes has a bug where it uses a YAML
200+
parser that does not fully implement the YAML specification. Some JSON escapes may
201+
not be recognized.
200202
{{< /note >}}
201203

202204
The serialization is the same as for Kubernetes objects, with the exception that

0 commit comments

Comments
 (0)