Represents a source location of a volume to mount, managed by an external CSI driver

Hierarchy

  • V1CSIVolumeSource

Constructors

Properties

driver: string

driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.

fsType?: string

fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.

nodePublishSecretRef?: V1LocalObjectReference
readOnly?: boolean

readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).

volumeAttributes?: {
    [key: string]: string;
}

volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.

Type declaration

  • [key: string]: string
attributeTypeMap: {
    baseName: string;
    name: string;
    type: string;
}[] = ...

Type declaration

  • baseName: string
  • name: string
  • type: string
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        name: string;
        type: string;
    }[]

Generated using TypeDoc