linstorcsidriver

package
v1.7.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAttacherImage            = "k8s.gcr.io/sig-storage/csi-attacher:v3.0.2"
	DefaultLivenessProbeImage       = "k8s.gcr.io/sig-storage/livenessprobe:v2.1.0"
	DefaultNodeDriverRegistrarImage = "k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.0.1"
	DefaultProvisionerImage         = "k8s.gcr.io/sig-storage/csi-provisioner:v2.0.4"
	DefaultSnapshotterImage         = "k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.2"
	DefaultResizerImage             = "k8s.gcr.io/sig-storage/csi-resizer:v1.0.1"
)
View Source
const (
	NodeServiceAccount       = "-csi-node"
	ControllerServiceAccount = "-csi-controller"
	NodeDaemonSet            = "%s-csi-node"
	ControllerDeployment     = "%s-csi-controller"
	DefaultKubeletPath       = "/var/lib/kubelet"
)

Variables

View Source
var (
	IsPrivileged                  = true
	MountPropagationBidirectional = corev1.MountPropagationBidirectional
	HostPathDirectoryOrCreate     = corev1.HostPathDirectoryOrCreate
	HostPathDirectory             = corev1.HostPathDirectory
	DefaultHealthPort             = 9808
)

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new LinstorCSIDriver Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileLinstorCSIDriver

type ReconcileLinstorCSIDriver struct {
	// contains filtered or unexported fields
}

ReconcileLinstorCSIDriver reconciles a LinstorCSIDriver object

func (*ReconcileLinstorCSIDriver) Reconcile

Reconcile reads that state of the cluster for a LinstorCSIDriver object and makes changes based on the state read and what is in the LinstorCSIDriver.Spec

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL