Skip to content

Commit

Permalink
Fix cluster_type label for vintage clusters in `aggregation:giantswar…
Browse files Browse the repository at this point in the history
…m:cluster_info` recording query. (#1115)
  • Loading branch information
whites11 authored Apr 9, 2024
1 parent b7bde3f commit ff4bd4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fix cluster_type label for vintage clusters in `aggregation:giantswarm:cluster_info` recording query.

## [3.8.0] - 2024-04-08

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ spec:
"(.*)"
) >= 1
{{- if eq .Values.managementCluster.provider.flavor "vintage" }}
or cluster_operator_cluster_status >= 1
or cluster_service_cluster_info >= 1
or label_replace(cluster_operator_cluster_status, "cluster_type", "workload_cluster", "", "") >= 1
or label_replace(cluster_service_cluster_info, "cluster_type", "workload_cluster", "", "") >= 1
or
label_replace(
label_replace(
Expand Down

0 comments on commit ff4bd4d

Please sign in to comment.