Merge pull request #30825 from wongma7/pv-controller-informer

Automatic merge from submit-queue

Use PV shared informer in PV controller

Use the PV shared informer, addressing (partially) https://github.com/kubernetes/kubernetes/issues/26247 . Using the PVC shared informer is not so simple because sometimes the controller wants to `Requeue` and...
This commit is contained in:
Kubernetes Submit Queue
2016-09-10 12:40:30 -07:00
committed by GitHub
6 changed files with 80 additions and 44 deletions

View File

@@ -430,7 +430,7 @@ func StartControllers(s *options.CMServer, kubeClient *client.Client, kubeconfig
ProbeControllerVolumePlugins(cloud, s.VolumeConfiguration),
cloud,
s.ClusterName,
nil, // volumeSource
sharedInformers.PersistentVolumes().Informer(),
nil, // claimSource
nil, // classSource
nil, // eventRecorder