Adjust yaml indentation on allowedHostPaths example (#27731)

* Adjust yaml indentation on allowedHostPaths

allowedHostPaths is an attribute inside spec: of PSP, so the sample needs to be shifted to match the YAML.

* Adjusted the PSP example allowedHostPaths coments

Adjusted the whole example (including the #coments)
pull/28366/head
Bruno Gabriel da Silva 2021-06-10 02:37:26 +01:00 committed by GitHub
parent 36a464b5f4
commit 0295ca4f9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -464,7 +464,7 @@ allowed prefix, and a `readOnly` field indicating it must be mounted read-only.
For example:
```yaml
allowedHostPaths:
allowedHostPaths:
# This allows "/foo", "/foo/", "/foo/bar" etc., but
# disallows "/fool", "/etc/foo" etc.
# "/foo/../" is never valid.