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.
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
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
/foo
/foo/
/foo/bar
/food
/etc/foo
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use.