Skip to content

Commit c9dd20e

Browse files
committed
Improve Server-Side Apply page to address JSON/YAML compatibility with go-yaml
1 parent 01bc0af commit c9dd20e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ 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+
Most JSON documents are accepted as YAML by Kubernetes.
200+
you can find more details on this [open issue](https://github.com/go-yaml/yaml/issues/797)
200201
{{< /note >}}
201202

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

0 commit comments

Comments
 (0)