diff --git a/packages/core/src/common/cluster/cluster.ts b/packages/core/src/common/cluster/cluster.ts index f00d9c3f89..6829a6744a 100644 --- a/packages/core/src/common/cluster/cluster.ts +++ b/packages/core/src/common/cluster/cluster.ts @@ -699,6 +699,11 @@ export class Cluster implements ClusterModel { } shouldShowResource(resource: KubeApiResourceDescriptor): boolean { + if (this.allowedResources.size === 0) { + // better to show than hide everything + return true; + } + return this.allowedResources.has(formatKubeApiResource(resource)); }