Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anago GCB 2021-09-14 22:54:31 +00:00
commit 3a53309d22

View File

@ -579,7 +579,7 @@ func startPVCProtectionController(ctx ControllerContext) (controller.Interface,
ctx.InformerFactory.Core().V1().Pods(),
ctx.ClientBuilder.ClientOrDie("pvc-protection-controller"),
utilfeature.DefaultFeatureGate.Enabled(features.StorageObjectInUseProtection),
utilfeature.DefaultFeatureGate.Enabled(features.StorageObjectInUseProtection),
utilfeature.DefaultFeatureGate.Enabled(features.GenericEphemeralVolume),
)
if err != nil {
return nil, true, fmt.Errorf("failed to start the pvc protection controller: %v", err)