Fix entity accessibleNamespaces

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-07-23 12:47:48 -04:00
1 parent c8f27e537b
commit 9cce704bd7
1 file changed
+1 -1
+1 -1
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);
}