mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix entity accessibleNamespaces (#3507)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
c8f27e537b
commit
b71e71cdfc
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user