mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 14:02:56 +09:00
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:
1 parent
e77ee47e15
commit
002d3eb44c
1 file changed
+8
@@ -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"),
|
||||
|
||||
Reference in new issue
Block a user