Skip to content

Commit e3cebea

Browse files
authored
[kafka] Disable noisy alerts (cozystack#1488)
## What this PR does The alerts deployed with the Kafka Strimzi operator are noisy and not useful, when a given namespace does not deploy any kafka clusters. This patch removes them. ### Release note ```release-note [kafka] Disable useless alerts for Kafka which fire when not called for, e.g. when Kafka isn't deployed. ``` fixes cozystack#790 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Temporarily disabled rendering of monitoring alert snippets for the Kafka Operator, resulting in no alerts being generated from this component. * Keeps existing deployments unaffected beyond the absence of these alerts; no configuration changes required by users. * Preserves previous alert definitions internally for potential reactivation in a future update. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2 parents e986e7c + 1f158fa commit e3cebea

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
{{- $files := .Files.Glob "alerts/*.yaml" -}}
2-
{{- range $path, $file := $files }}
3-
---
4-
# from: {{ $path }}
5-
{{ toString $file }}
6-
7-
{{- end -}}
1+
{{- /*
2+
# Disabled due to https://github.com/cozystack/cozystack/issues/790
3+
# {{- $files := .Files.Glob "alerts/*.yaml" -}}
4+
# {{- range $path, $file := $files }}
5+
# ---
6+
# # from: {{ $path }}
7+
# {{ toString $file }}
8+
#
9+
# {{- end -}}
10+
#
11+
*/ -}}

0 commit comments

Comments
 (0)