From e149c0a8225dfc8aecbe8ffc62010265f34db55f Mon Sep 17 00:00:00 2001 From: Francesco Torchia Date: Mon, 4 Nov 2024 15:22:40 +0100 Subject: [PATCH] Remove Virtualization Management configs; Fix extension annotations Signed-off-by: Francesco Torchia --- pkg/harvester/index.ts | 4 ---- pkg/harvester/package.json | 6 ++++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/pkg/harvester/index.ts b/pkg/harvester/index.ts index 84ae5d0a..3a3895b0 100644 --- a/pkg/harvester/index.ts +++ b/pkg/harvester/index.ts @@ -20,10 +20,6 @@ export default function (plugin: IPlugin) { const isSingleVirtualCluster = process.env.rancherEnv === PRODUCT_NAME; - if (!isSingleVirtualCluster) { - plugin.addProduct(require('./config/harvester-manager')); - } - plugin.addProduct(require('./config/harvester-cluster')); plugin.addDashboardStore(harvesterCommonStore.config.namespace, harvesterCommonStore.specifics, harvesterCommonStore.config); diff --git a/pkg/harvester/package.json b/pkg/harvester/package.json index 9f05d3c7..fc723795 100644 --- a/pkg/harvester/package.json +++ b/pkg/harvester/package.json @@ -5,8 +5,10 @@ "private": false, "rancher": { "annotations": { - "catalog.cattle.io/rancher-version": ">= v2.10.0", - "catalog.cattle.io/display-name": "Harvester" + "catalog.cattle.io/display-name": "Harvester", + "catalog.cattle.io/kube-version": ">= 1.16.0-0", + "catalog.cattle.io/rancher-version": ">= 2.10.0-0", + "catalog.cattle.io/ui-extensions-version": ">= 1.0.0-0" } }, "scripts": {