Skip to content

Commit 85c9da5

Browse files
committed
[dashboard] Show service LB IP
Fix an incorrect JSON path that prevented Service LoadBalancer IPs from rendering in the table view. Signed-off-by: Timofei Larkin <[email protected]>
1 parent af96e3d commit 85c9da5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎internal/controller/dashboard/static_refactored.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func CreateAllCustomColumnsOverrides() []*dashboardv1alpha1.CustomColumnsOverrid
142142
createCustomColumnsOverride("stock-namespace-/v1/services", []any{
143143
createCustomColumnWithJsonPath("Name", ".metadata.name", "S", "service", getColorForType("service"), "/openapi-ui/{2}/{reqsJsonPath[0]['.metadata.namespace']['-']}/factory/kube-service-details/{reqsJsonPath[0]['.metadata.name']['-']}"),
144144
createStringColumn("ClusterIP", ".spec.clusterIP"),
145-
createStringColumn("LoadbalancerIP", ".spec.loadBalancerIP"),
145+
createStringColumn("LoadbalancerIP", ".status.loadBalancer.ingress[0].ip"),
146146
createTimestampColumn("Created", ".metadata.creationTimestamp"),
147147
}),
148148

0 commit comments

Comments
 (0)