From 68829b8439f3fa8a47456bbf8edfb02013eae886 Mon Sep 17 00:00:00 2001 From: Mo Mesgin Date: Mon, 13 Jan 2025 16:04:42 -0800 Subject: [PATCH 1/9] restrict installed apps upgrade --- shell/assets/translations/en-us.yaml | 2 + shell/list/catalog.cattle.io.app.vue | 25 +++++- shell/mixins/__tests__/chart.test.ts | 9 +- shell/mixins/chart.js | 4 +- .../__tests__/catalog.cattle.io.app.test.ts | 88 +++++++++++++++++++ shell/models/catalog.cattle.io.app.js | 85 +++++++++++------- .../pages/c/_cluster/explorer/tools/index.vue | 4 +- shell/store/catalog.js | 21 +++-- 8 files changed, 188 insertions(+), 50 deletions(-) create mode 100644 shell/models/__tests__/catalog.cattle.io.app.test.ts diff --git a/shell/assets/translations/en-us.yaml b/shell/assets/translations/en-us.yaml index 758c7a19d37..603f216ab2a 100644 --- a/shell/assets/translations/en-us.yaml +++ b/shell/assets/translations/en-us.yaml @@ -903,6 +903,8 @@ catalog: label: Resources busy: The related resources will appear when {app} is fully installed. values: Values YAML + upgrade: + uncertainUpgradeWarningTooltip: Unable to identify source chart and repository for this application in order to determine if an upgrade is available chart: registry: label: Container Registry diff --git a/shell/list/catalog.cattle.io.app.vue b/shell/list/catalog.cattle.io.app.vue index 05aaa0c4606..dab3e3e3983 100644 --- a/shell/list/catalog.cattle.io.app.vue +++ b/shell/list/catalog.cattle.io.app.vue @@ -1,5 +1,6 @@