Kazan v0.11.0 Kazan.Apis.Policy.V1beta1.AllowedHostPath View Source

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.

OpenAPI Definition: io.k8s.api.policy.v1beta1.AllowedHostPath

Properties

  • path_prefix :: String

    • 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

  • read_only :: Boolean

    • when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Kazan.Apis.Policy.V1beta1.AllowedHostPath{
  path_prefix: String.t(),
  read_only: boolean()
}