Skip to content

Commit

Permalink
Exclude local cluster from epinio instances
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Torchia <[email protected]>
  • Loading branch information
torchiaf committed Nov 22, 2023
1 parent e114983 commit 19170d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/pkg/epinio/utils/epinio-discovery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class EpinioDiscovery {
const allClusters = await store.dispatch('management/findAll', { type: MANAGEMENT.CLUSTER }, { root: true });
const epinioClusters = [];

for (const c of allClusters.filter((c: any) => c.isReady)) {
for (const c of allClusters.filter((c: any) => !c.isLocal && c.isReady)) {
try {
// Try to discover the namespace epinio is installed to
const namespace = await this.findNamespace(store, c.id);
Expand Down

0 comments on commit 19170d4

Please sign in to comment.