Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(monitoring): disable v1 monitoring workloads check #745

Open
wants to merge 1 commit into
base: release-2.7.13-cn
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions shell/pages/c/_cluster/monitoring/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { getClusterPrefix } from '@shell/utils/grafana';
import { Banner } from '@components/Banner';
import LazyImage from '@shell/components/LazyImage';
import SimpleBox from '@shell/components/SimpleBox';
import { haveV1MonitoringWorkloads } from '@shell/utils/monitoring';

const CATTLE_MONITORING_NAMESPACE = 'cattle-monitoring-system';

Expand Down Expand Up @@ -96,7 +95,7 @@ export default {
const { $store, externalLinks } = this;
const currentCluster = this.$store.getters['currentCluster'];

this.v1Installed = await haveV1MonitoringWorkloads($store);
this.v1Installed = true;
const hash = await allHash({
endpoints: $store.dispatch('cluster/findAll', { type: ENDPOINTS }),
app: $store.dispatch(`cluster/find`, { type: CATALOG.APP, id: 'cattle-monitoring-system/rancher-monitoring' })
Expand Down