Struct k8s_openapi::api::core::v1::CephFSPersistentVolumeSource
source · [−]pub struct CephFSPersistentVolumeSource {
pub monitors: Vec<String>,
pub path: Option<String>,
pub read_only: Option<bool>,
pub secret_file: Option<String>,
pub secret_ref: Option<SecretReference>,
pub user: Option<String>,
}Expand description
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
Fields
monitors: Vec<String>Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
path: Option<String>Optional: Used as the mounted root, rather than the full Ceph tree, default is /
read_only: Option<bool>Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
secret_file: Option<String>Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
secret_ref: Option<SecretReference>Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
user: Option<String>Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for CephFSPersistentVolumeSource
impl Sync for CephFSPersistentVolumeSource
impl Unpin for CephFSPersistentVolumeSource
impl UnwindSafe for CephFSPersistentVolumeSource
Blanket Implementations
Mutably borrows from an owned value. Read more