python/kubernetes/docs/V1beta1AllowedHostPath.md
Nabarun Pal c55930bb50
Generate updated client 18.0.0-snapshot
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-09 21:07:31 +05:30

986 B

V1beta1AllowedHostPath

AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.

Properties

Name Type Description Notes
path_prefix str pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` [optional]
read_only bool when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. [optional]

[Back to Model list] [Back to API list] [Back to README]