From 94d1947df554e06fd70ec05d39463ac55f2cc15e Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Fri, 18 Dec 2020 12:15:21 +0000 Subject: [PATCH] Fix filter by name in generic kube resource list (#4845) --- .../kubernetes-resource-list.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/packages/kubernetes/src/kubernetes/kubernetes-resource/kubernetes-resource-list/kubernetes-resource-list.component.ts b/src/frontend/packages/kubernetes/src/kubernetes/kubernetes-resource/kubernetes-resource-list/kubernetes-resource-list.component.ts index ed5c835af5..5ce9e18563 100644 --- a/src/frontend/packages/kubernetes/src/kubernetes/kubernetes-resource/kubernetes-resource-list/kubernetes-resource-list.component.ts +++ b/src/frontend/packages/kubernetes/src/kubernetes/kubernetes-resource/kubernetes-resource-list/kubernetes-resource-list.component.ts @@ -144,6 +144,9 @@ export class KubernetesResourceListComponent implements OnDestroy { listConfig.hideRefresh = this.isWorkloadView; provider.updateListConfig(listConfig); + provider.updateDataSourceConfig({ + transformEntities: [{ type: 'filter', field: 'metadata.name' }] + }); this.provider = provider; }