Merge pull request #94489 from ialidzhikov/fix/volume-expand

Do not assume storageclass is still in-tree after csi migration
This commit is contained in:
Kubernetes Prow Robot
2020-10-19 15:08:07 -07:00
committed by GitHub
4 changed files with 17 additions and 69 deletions

View File

@@ -381,7 +381,6 @@ func startVolumeExpandController(ctx ControllerContext) (http.Handler, bool, err
ctx.ClientBuilder.ClientOrDie("expand-controller"),
ctx.InformerFactory.Core().V1().PersistentVolumeClaims(),
ctx.InformerFactory.Core().V1().PersistentVolumes(),
ctx.InformerFactory.Storage().V1().StorageClasses(),
ctx.Cloud,
plugins,
csiTranslator,