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>
monitors is 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>
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
read_only: Option<bool>
readOnly is 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>
secretFile is 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>
secretRef is 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>
user is 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§
Source§impl Clone for CephFSPersistentVolumeSource
impl Clone for CephFSPersistentVolumeSource
Source§fn clone(&self) -> CephFSPersistentVolumeSource
fn clone(&self) -> CephFSPersistentVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CephFSPersistentVolumeSource
impl Debug for CephFSPersistentVolumeSource
Source§impl DeepMerge for CephFSPersistentVolumeSource
impl DeepMerge for CephFSPersistentVolumeSource
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.Source§impl Default for CephFSPersistentVolumeSource
impl Default for CephFSPersistentVolumeSource
Source§fn default() -> CephFSPersistentVolumeSource
fn default() -> CephFSPersistentVolumeSource
Source§impl<'de> Deserialize<'de> for CephFSPersistentVolumeSource
impl<'de> Deserialize<'de> for CephFSPersistentVolumeSource
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl PartialEq for CephFSPersistentVolumeSource
impl PartialEq for CephFSPersistentVolumeSource
Source§fn eq(&self, other: &CephFSPersistentVolumeSource) -> bool
fn eq(&self, other: &CephFSPersistentVolumeSource) -> bool
self
and other
values to be equal, and is used by ==
.