Do not report warning event when an nknown provisioner is requested

with StorageClass.Provisioner == <unknown plugin>, we should wait for
either external provisioner or volume admin to provide a PV for a claim
instead of reporting an error.

Fixes #31723
This commit is contained in:
Jan Safranek
2016-09-07 09:11:41 +02:00
parent 54db8fa2e3
commit 3a2f4e52a8
3 changed files with 63 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ type controllerTest struct {
type testCall func(ctrl *PersistentVolumeController, reactor *volumeReactor, test controllerTest) error
const testNamespace = "default"
const mockPluginName = "MockVolumePlugin"
const mockPluginName = "kubernetes.io/mock-volume"
var versionConflictError = errors.New("VersionError")
var novolumes []*api.PersistentVolume