Use PV shared informer in PV controller

This commit is contained in:
Matthew Wong
2016-08-25 21:55:23 -04:00
parent d836b248b2
commit 1d6dbdd9d2
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