You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.
Currently, the Qualifier has a ShouldProvision hook for external-provisioner to determine whether shouldProvision or not.
// Qualifier is an optional interface implemented by provisioners to determine
// whether a claim should be provisioned as early as possible (e.g. prior to
// leader election).
type Qualifier interface {
// ShouldProvision returns whether provisioning for the claim should
// be attempted.
ShouldProvision(*v1.PersistentVolumeClaim) bool
}
Similarly, we can add a shouldDelete hook for external-provisioner to determine whether to delete the PV or not. - we implemented a custom provisioner and would like to inject logic for deletion such as time-based or space-based deletion policy.
yes, can be added. note that in the meantime there is also the option for Delete to return IgnoredError. The difference is that ShouldProvision/ShouldDelete gets called before Delete even gets called.
Currently, the Qualifier has a ShouldProvision hook for external-provisioner to determine whether shouldProvision or not.
Similarly, we can add a shouldDelete hook for external-provisioner to determine whether to delete the PV or not. - we implemented a custom provisioner and would like to inject logic for deletion such as time-based or space-based deletion policy.
@jsafrane , does this make sense ?
The text was updated successfully, but these errors were encountered: