diff --git a/frontend/src/components/service/List.tsx b/frontend/src/components/service/List.tsx index 0c3ef8246a..9e49f72a97 100644 --- a/frontend/src/components/service/List.tsx +++ b/frontend/src/components/service/List.tsx @@ -32,7 +32,7 @@ export default function ServiceList() { id: 'ports', label: t('Ports'), getValue: service => service.getPorts()?.join(', '), - render: service => , + render: service => , }, { id: 'selector', diff --git a/frontend/src/lib/k8s/service.ts b/frontend/src/lib/k8s/service.ts index 735be88f9e..89d474cfa0 100644 --- a/frontend/src/lib/k8s/service.ts +++ b/frontend/src/lib/k8s/service.ts @@ -17,7 +17,7 @@ export interface KubeLoadBalancerIngress { export interface KubeService extends KubeObjectInterface { spec: { clusterIP: string; - ports: { + ports?: { name: string; nodePort: number; port: number;