Merge pull request #121902 from carlory/kep-3751-pv-controller
[kep-3751] pvc bind pv with vac
This commit is contained in:
@@ -915,7 +915,7 @@ func (b *volumeBinder) findMatchingVolumes(logger klog.Logger, pod *v1.Pod, clai
|
||||
pvs := unboundVolumesDelayBinding[storageClassName]
|
||||
|
||||
// Find a matching PV
|
||||
pv, err := volume.FindMatchingVolume(pvc, pvs, node, chosenPVs, true)
|
||||
pv, err := volume.FindMatchingVolume(pvc, pvs, node, chosenPVs, true, utilfeature.DefaultFeatureGate.Enabled(features.VolumeAttributesClass))
|
||||
if err != nil {
|
||||
return false, nil, nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user