Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewManilaController ¶
func NewManilaController( operatorClient v1helpers.OperatorClient, kubeClient kubernetes.Interface, informers v1helpers.KubeInformersForNamespaces, csiControllers []Runnable, eventRecorder events.Recorder) factory.Controller
func NewOpenStackClient ¶
Types ¶
type ManilaController ¶
type ManilaController struct {
// contains filtered or unexported fields
}
This ManilaController watches OpenStack and:
- Installs Manila CSI drivers (Manila itself, NFS) once it detects that there is Manila present (by running provided manilaOperatorSet).
- Creates StorageClass for each share type provided by Manila.
- If there is no Manila in the OpenStack where the cluster runs, it marks the operator with condition Disabled=true.
Note that the CSI driver(s) are not un-installed when Manila becomes missing or it stops providing shares of given type - Manila bight be under (short?) maintenance / reconfiguration. Similarly, StorageClasses are not deleted when a share type disappears from Manila.
Click to show internal directories.
Click to hide internal directories.