1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix entity accessibleNamespaces

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-07-23 12:47:48 -04:00
parent c8f27e537b
commit 9cce704bd7

View File

@ -183,7 +183,7 @@ export class ClusterManager extends Singleton {
} else {
cluster.kubeConfigPath = entity.spec.kubeconfigPath;
cluster.contextName = entity.spec.kubeconfigContext;
cluster.accessibleNamespaces = entity.spec.accessibleNamespaces;
cluster.accessibleNamespaces = entity.spec.accessibleNamespaces ?? [];
this.updateEntityFromCluster(cluster);
}