mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
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:
@@ -594,7 +594,7 @@ func newTestController(kubeClient clientset.Interface, volumeSource, claimSource
|
||||
if classSource == nil {
|
||||
classSource = framework.NewFakeControllerSource()
|
||||
}
|
||||
ctrl := NewPersistentVolumeController(
|
||||
ctrl := NewPersistentVolumeControllerFromClient(
|
||||
kubeClient,
|
||||
5*time.Second, // sync period
|
||||
nil, // alpha provisioner
|
||||
|
||||
Reference in New Issue
Block a user