--- permalink: /1.32/core/v1/cinderPersistentVolumeSource/ --- # core.v1.cinderPersistentVolumeSource "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." ## Index * [`fn withFsType(fsType)`](#fn-withfstype) * [`fn withReadOnly(readOnly)`](#fn-withreadonly) * [`fn withVolumeID(volumeID)`](#fn-withvolumeid) * [`obj secretRef`](#obj-secretref) * [`fn withName(name)`](#fn-secretrefwithname) * [`fn withNamespace(namespace)`](#fn-secretrefwithnamespace) ## Fields ### fn withFsType ```ts withFsType(fsType) ``` "fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" ### fn withReadOnly ```ts withReadOnly(readOnly) ``` "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" ### fn withVolumeID ```ts withVolumeID(volumeID) ``` "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" ## obj secretRef "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" ### fn secretRef.withName ```ts withName(name) ``` "name is unique within a namespace to reference a secret resource." ### fn secretRef.withNamespace ```ts withNamespace(namespace) ``` "namespace defines the space within which the secret name must be unique."