package kubecaml

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

Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or Se_linux relabeling.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?user:string -> ?secret_ref:Kubernetes.Definitions.Api.Core.V1.Secret_reference.t -> ?secret_file:string -> ?read_only:bool -> ?path:string -> monitors:string list -> unit -> t
val monitors : t -> string list

Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it

val path : t -> string option

Optional: Used as the mounted root, rather than the full Ceph tree, default is /

val read_only : t -> bool option

Optional: Defaults to false (read/write). Read_only here will force the Read_only setting in Volume_mounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it

val secret_file : t -> string option

Optional: Secret_file is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it

Optional: Secret_ref is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it

val user : t -> string option

Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it

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