Documentation ¶
Index ¶
Constants ¶
View Source
const ( KubeMinMajor = "1" KubeMinMinor = "13" // image names DefaultRBDPluginImage = "quay.io/cephcsi/rbdplugin:v1.0.0" DefaultCephFSPluginImage = "quay.io/cephcsi/cephfsplugin:v1.0.0" DefaultRegistrarImage = "quay.io/k8scsi/csi-node-driver-registrar:v1.0.2" DefaultProvisionerImage = "quay.io/k8scsi/csi-provisioner:v1.0.1" DefaultAttacherImage = "quay.io/k8scsi/csi-attacher:v1.0.1" DefaultSnapshotterImage = "quay.io/k8scsi/csi-snapshotter:v1.0.1" // template DefaultRBDPluginTemplatePath = "/etc/ceph-csi/rbd/csi-rbdplugin.yaml" DefaultRBDProvisionerTemplatePath = "/etc/ceph-csi/rbd/csi-rbdplugin-provisioner.yaml" DefaultCephFSPluginTemplatePath = "/etc/ceph-csi/cephfs/csi-cephfsplugin.yaml" DefaultCephFSProvisionerTemplatePath = "/etc/ceph-csi/cephfs/csi-cephfsplugin-provisioner.yaml" ExitOnError = false // don't exit if CSI fails to deploy. Switch to true when flexdriver is disabled )
Variables ¶
Functions ¶
func CSIEnabled ¶
func CSIEnabled() bool
func SetCSINamespace ¶
func SetCSINamespace(namespace string)
func StartCSIDrivers ¶
func StartCSIDrivers(namespace string, clientset kubernetes.Interface) error
func ValidateCSIParam ¶
func ValidateCSIParam() error
Types ¶
Click to show internal directories.
Click to hide internal directories.