package kubecaml
Module V1.Storage_os_volume_source
Represents a Storage_os persistent volume resource.
val to_yojson : t -> Yojson.Safe.tval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval make :
?volume_namespace:string ->
?volume_name:string ->
?secret_ref:Kubernetes.Definitions.Api.Core.V1.Local_object_reference.t ->
?read_only:bool ->
?fs_type:string ->
unit ->
tval fs_type : t -> string optionFilesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
val read_only : t -> bool optionDefaults to false (read/write). Read_only here will force the Read_only setting in Volume_mounts.
val secret_ref :
t ->
Kubernetes.Definitions.Api.Core.V1.Local_object_reference.t optionSecret_ref specifies the secret to use for obtaining the Storage_os Api credentials. If not specified, default values will be attempted.
val volume_name : t -> string optionVolume_name is the human_readable name of the Storage_os volume. Volume names are only unique within a namespace.
val volume_namespace : t -> string optionVolume_namespace specifies the scope of the volume within Storage_os. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within Storage_os for tighter integration. Set Volume_name to any name to override the default behaviour. Set to "default" if you are not using namespaces within Storage_os. Namespaces that do not pre_exist within Storage_os will be created.