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:
parent
e77ee47e15
commit
002d3eb44c
1 changed files with 8 additions and 0 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue