CephFSVolumeSourcePatch

data class CephFSVolumeSourcePatch(val monitors: List<String>? = null, val path: String? = null, val readOnly: Boolean? = null, val secretFile: String? = null, val secretRef: LocalObjectReferencePatch? = null, val user: String? = null)

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

Constructors

Link copied to clipboard
constructor(monitors: List<String>? = null, path: String? = null, readOnly: Boolean? = null, secretFile: String? = null, secretRef: LocalObjectReferencePatch? = null, user: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val monitors: List<String>? = null

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

Link copied to clipboard
val path: String? = null

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

Link copied to clipboard
val readOnly: Boolean? = null

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

Link copied to clipboard
val secretFile: String? = null

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

Link copied to clipboard

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

Link copied to clipboard
val user: String? = null

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