package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Flex_persistent_volume_source represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?secret_ref:Kubernetes.Definitions.Api.Core.V1.Secret_reference.t -> ?read_only:bool -> ?options:Object.Of_strings.t -> ?fs_type:string -> driver:string -> unit -> t
val driver : t -> string

Driver is the name of the driver to use for this volume.

val fs_type : t -> string option

Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on Flex_volume script.

val options : t -> Object.Of_strings.t option

Optional: Extra command options if any.

val read_only : t -> bool option

Optional: Defaults to false (read/write). Read_only here will force the Read_only setting in Volume_mounts.

Optional: Secret_ref is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.

module Object : Object.S with type value := t