- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NeedToAddFinalizer (0.12 sec)
-
pkg/controller/volume/pvprotection/pv_protection_controller.go
isUsed := c.isBeingUsed(pv) if !isUsed { return c.removeFinalizer(ctx, pv) } logger.V(4).Info("Keeping PV because it is being used", "PV", klog.KRef("", pvName)) } if protectionutil.NeedToAddFinalizer(pv, volumeutil.PVProtectionFinalizer) { // PV is not being deleted -> it should have the finalizer. The // finalizer should be added by admission plugin, this is just to add
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 6.4K bytes - Viewed (0) -
pkg/controller/volume/pvcprotection/pvc_protection_controller.go
return err } if !isUsed { return c.removeFinalizer(ctx, pvc) } logger.V(2).Info("Keeping PVC because it is being used", "PVC", klog.KObj(pvc)) } if protectionutil.NeedToAddFinalizer(pvc, volumeutil.PVCProtectionFinalizer) { // PVC is not being deleted -> it should have the finalizer. The // finalizer should be added by admission plugin, this is just to add
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 14K bytes - Viewed (0)