Document dry-run authorization requirements (#18235)
* Document dry-run write access requirement. - Add section on dry-run authorization - Refer to dry-run authorization for diff - Consistently hyphenate dry-run * Update content/en/docs/reference/using-api/api-concepts.md Co-Authored-By: Tim Bannister <tim@scalefactory.com> Co-authored-by: Tim Bannister <tim@scalefactory.com>
This commit is contained in:
committed by
GitHub
parent
995e2420f4
commit
3dcb84268c
@@ -83,7 +83,14 @@ kubectl diff -f https://k8s.io/examples/application/simple_deployment.yaml
|
||||
```
|
||||
|
||||
{{< note >}}
|
||||
`diff` uses [server-side dry-run](/docs/reference/using-api/api-concepts/#dry-run), which needs to be enabled on `kube-apiserver`.
|
||||
`diff` uses [server-side dry-run](/docs/reference/using-api/api-concepts/#dry-run),
|
||||
which needs to be enabled on `kube-apiserver`.
|
||||
|
||||
Since `diff` performs a server-side apply request in dry-run mode,
|
||||
it requires granting `PATCH`, `CREATE`, and `UPDATE` permissions.
|
||||
See [Dry-Run Authorization](/docs/reference/using-api/api-concepts#dry-run-authorization)
|
||||
for details.
|
||||
|
||||
{{< /note >}}
|
||||
|
||||
Create the object using `kubectl apply`:
|
||||
|
||||
Reference in New Issue
Block a user