Release 6.4.1 (#7275)

* should show resource if missing allowedResources data (#7274)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* Release 6.4.1

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

---------

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Iku-tursoandJari Kolehmainen authored and GitHub committed 2023-03-03 15:10:25 +02:00
1 parent 5ac90e9178
commit 33f573e405
5 files changed
+11 -6

No files matched your search

@@ -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));
}