Merge pull request #50116 from MohammadAlavi1986/ssa_fix
SSA request bodies can include either JSON or YAMLpull/50181/head
commit
f5eee4f11f
|
@ -578,8 +578,8 @@ Apply can send partially specified objects as YAML as the body of a `PATCH` requ
|
||||||
to the URI of a resource. When applying a configuration, you should always include all the
|
to the URI of a resource. When applying a configuration, you should always include all the
|
||||||
fields that are important to the outcome (such as a desired state) that you want to define.
|
fields that are important to the outcome (such as a desired state) that you want to define.
|
||||||
|
|
||||||
All JSON messages are valid YAML. Some clients specify Server-Side Apply requests using YAML
|
All JSON messages are valid YAML. Therefore, in addition to using YAML request bodies for Server-Side Apply requests, you can also use JSON request bodies, as they are also valid YAML.
|
||||||
request bodies that are also valid JSON.
|
In either case, use the media type `application/apply-patch+yaml` for the HTTP request.
|
||||||
|
|
||||||
### Access control and permissions {#rbac-and-permissions}
|
### Access control and permissions {#rbac-and-permissions}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue