TODO Comment
// TODO: use field selector once KEP-4358 is stabilized
Location
controller/internal/controller/lease.go, line 13
Context
func MatchingActiveLeases() client.ListOption {
// TODO: use field selector once KEP-4358 is stabilized
// Reference: https://github.com/kubernetes/kubernetes/pull/122717
requirement, err := labels.NewRequirement(
string(jumpstarterdevv1alpha1.LeaseLabelEnded),
selection.DoesNotExist,
[]string{},
)
utilruntime.Must(err)
Currently using label selectors as a workaround. Should switch to field selectors once KEP-4358 (kubernetes/kubernetes#122717) is stabilized.
TODO Comment
// TODO: use field selector once KEP-4358 is stabilizedLocation
controller/internal/controller/lease.go, line 13Context
Currently using label selectors as a workaround. Should switch to field selectors once KEP-4358 (kubernetes/kubernetes#122717) is stabilized.