1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-16 15:29:04 +00:00

Implement sorting by status.lastScheduleTime and status.lastSuccessfulTime. (#766)

Note that it will be possible to filter against these fields, but that doesn't sound too useful,
as you'd have to compare against a date string.
This commit is contained in:
Eric Promislow
2025-08-07 13:28:30 -07:00
committed by GitHub
parent c81c0d21a4
commit 97b595d551

View File

@@ -120,6 +120,8 @@ var (
gvkKey("batch", "v1", "CronJob"): {
{"metadata", "annotations", "field.cattle.io/publicEndpoints"},
{"spec", "jobTemplate", "spec", "template", "spec", "containers", "image"},
{"status", "lastScheduleTime"},
{"status", "lastSuccessfulTime"},
},
gvkKey("batch", "v1", "Job"): {
{"metadata", "annotations", "field.cattle.io/publicEndpoints"},