From 82ba8c615a8b399599404e85ed5072d261b9841c Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 30 Apr 2021 09:26:17 -0400 Subject: [PATCH] change label to file Signed-off-by: Sebastian Malton --- src/main/catalog-sources/kubeconfig-sync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/catalog-sources/kubeconfig-sync.ts b/src/main/catalog-sources/kubeconfig-sync.ts index a4d31a3d1e..9cf2bf57d4 100644 --- a/src/main/catalog-sources/kubeconfig-sync.ts +++ b/src/main/catalog-sources/kubeconfig-sync.ts @@ -166,7 +166,7 @@ export function computeDiff(contents: string, source: RootSource, port: number, const entity = catalogEntityFromCluster(cluster); - entity.metadata.labels.KUBECONFIG_SYNC = filePath; + entity.metadata.labels.file = filePath; source.set(contextName, [cluster, entity]); logger.debug(`${logPrefix} Added new cluster from sync`, { filePath, contextName });