Documentation
¶
Index ¶
Constants ¶
View Source
const ( APIGroup = "csi.ibm.com" APIVersion = "v1" Name = "ibm-block-csi-operator" DriverName = "block.csi.ibm.com" ProductName = "ibm-block-csi-driver" DeployPath = "/deploy" Masterlabel = "node-role.kubernetes.io/master" ControllerRepository = "ibmcom/ibm-block-csi-controller-driver" NodeRepository = "ibmcom/ibm-block-csi-node-driver" NodeAgentRepository = "ibmcom/ibm-node-agent" ENVIscsiAgentPort = "ISCSI_AGENT_PORT" ENVEndpoint = "ENDPOINT" ENVNodeName = "NODE_NAME" ENVKubeVersion = "KUBE_VERSION" CSINodeDriverRegistrar = "csi-node-driver-registrar" CSIProvisioner = "csi-provisioner" CSIAttacher = "csi-attacher" LivenessProbe = "livenessprobe" ControllerSocketVolumeMountPath = "/var/lib/csi/sockets/pluginproxy/" NodeSocketVolumeMountPath = "/csi" ControllerLivenessProbeContainerSocketVolumeMountPath = "/csi" ControllerSocketPath = "/var/lib/csi/sockets/pluginproxy/csi.sock" NodeSocketPath = "/csi/csi.sock" NodeRegistrarSocketPath = "/var/lib/kubelet/plugins/block.csi.ibm.com/csi.sock" CSIEndpoint = "unix:///var/lib/csi/sockets/pluginproxy/csi.sock" CSINodeEndpoint = "unix:///csi/csi.sock" )
Add a field here if it never changes, if it changes over time, put it to settings.go
View Source
const ( NodeDriverRegistrarImage = "quay.io/k8scsi/csi-node-driver-registrar:v1.2.0" CSIProvisionerImage = "quay.io/k8scsi/csi-provisioner:v1.3.0" CSIAttacherImage = "quay.io/k8scsi/csi-attacher:v1.2.1" CSILivenessProbeImage = "quay.io/k8scsi/livenessprobe:v1.1.0" ControllerTag = "1.0.0" NodeTag = "1.0.0" NodeAgentTag = "1.0.0" DefaultNamespace = "kube-system" DefaultLogLevel = "DEBUG" ControllerUserID = int64(9999) NodeAgentPort = "10086" )
Variables ¶
This section is empty.
Functions ¶
func GetNameForResource ¶
func GetNameForResource(name ResourceName, driverName string) string
GetNameForResource returns the name of a resource for a CSI driver
Types ¶
type ResourceName ¶
type ResourceName string
ResourceName is the type for aliasing resources that will be created.
const ( CSIController ResourceName = "csi-controller" CSINode ResourceName = "csi-node" NodeAgent ResourceName = "ibm-node-agent" CSIControllerServiceAccount ResourceName = "csi-controller-sa" CSINodeServiceAccount ResourceName = "csi-node-sa" ExternalProvisionerClusterRole ResourceName = "external-provisioner-clusterrole" ExternalProvisionerClusterRoleBinding ResourceName = "external-provisioner-clusterrolebinding" ExternalAttacherClusterRole ResourceName = "external-attacher-clusterrole" ExternalAttacherClusterRoleBinding ResourceName = "external-attacher-clusterrolebinding" ExternalSnapshotterClusterRole ResourceName = "external-snapshotter-clusterrole" ExternalSnapshotterClusterRoleBinding ResourceName = "external-snapshotter-clusterrolebinding" )
func (ResourceName) String ¶
func (rn ResourceName) String() string
Click to show internal directories.
Click to hide internal directories.