AllowedHostPath

com.coralogix.zio.k8s.model.policy.v1beta1.AllowedHostPath
See theAllowedHostPath companion object
case class AllowedHostPath(pathPrefix: Optional[String], readOnly: Optional[Boolean])

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.

Value parameters

pathPrefix

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

readOnly

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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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.

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product