fix(dashboard): add EndpointSlice column definitions for Pod serving table

The service details page showed "Raw:" and "Invalid Date" in the Pod
serving table because the EnrichedTable referenced customizationId
"factory-kube-service-details-endpointslice" which had no corresponding
CustomColumnsOverride. Add column definitions for Pod, Addresses, Ready,
and Node fields.

Assisted-By: Claude AI
Signed-off-by: Kirill Ilin <stitch14@yandex.ru>
(cherry picked from commit 37f1b3b59c)
This commit is contained in:
Kirill Ilin 2026-03-26 10:13:20 +05:00 committed by github-actions[bot]
parent e77ee47e15
commit 002d3eb44c

View file

@ -154,6 +154,14 @@ func CreateAllCustomColumnsOverrides() []*dashboardv1alpha1.CustomColumnsOverrid
createStringColumn("Version", ".status.version"),
}),
// Factory service details endpointslice (Pod serving table)
createCustomColumnsOverride("factory-kube-service-details-endpointslice", []any{
createStringColumn("Pod", ".targetRef.name"),
createArrayColumn("Addresses", ".addresses"),
createBoolColumn("Ready", ".conditions.ready"),
createStringColumn("Node", ".nodeName"),
}),
// Factory service details port mapping
createCustomColumnsOverride("factory-kube-service-details-port-mapping", []any{
createStringColumn("Name", ".name"),