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
parent
36a464b5f4
commit
0295ca4f9e
|
@ -464,7 +464,7 @@ allowed prefix, and a `readOnly` field indicating it must be mounted read-only.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
allowedHostPaths:
|
allowedHostPaths:
|
||||||
# This allows "/foo", "/foo/", "/foo/bar" etc., but
|
# This allows "/foo", "/foo/", "/foo/bar" etc., but
|
||||||
# disallows "/fool", "/etc/foo" etc.
|
# disallows "/fool", "/etc/foo" etc.
|
||||||
# "/foo/../" is never valid.
|
# "/foo/../" is never valid.
|
||||||
|
|
Loading…
Reference in New Issue