mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-03 11:48:15 +00:00
Update matching logic with storage class
- no default StorageClass - PVC.Spec.Class == nil means the same as PVC.Spec.Class == ""
This commit is contained in:
@@ -591,6 +591,9 @@ func newTestController(kubeClient clientset.Interface, volumeSource, claimSource
|
||||
if claimSource == nil {
|
||||
claimSource = framework.NewFakePVCControllerSource()
|
||||
}
|
||||
if classSource == nil {
|
||||
classSource = framework.NewFakeControllerSource()
|
||||
}
|
||||
ctrl := NewPersistentVolumeController(
|
||||
kubeClient,
|
||||
5*time.Second, // sync period
|
||||
|
||||
Reference in New Issue
Block a user