report UnschedulableAndUnresolvable status instead of an error when PVCs can't find bound
persistent volumes This is an user error. We should't report an error.
This commit is contained in:
@@ -880,7 +880,8 @@ func TestFindPodVolumesWithoutProvisioning(t *testing.T) {
|
||||
},
|
||||
"bound-pvc,pv-not-exists": {
|
||||
podPVCs: []*v1.PersistentVolumeClaim{boundPVC},
|
||||
shouldFail: true,
|
||||
shouldFail: false,
|
||||
reasons: ConflictReasons{ErrReasonPVNotExist},
|
||||
},
|
||||
"prebound-pvc": {
|
||||
podPVCs: []*v1.PersistentVolumeClaim{preboundPVC},
|
||||
|
||||
Reference in New Issue
Block a user