From 1f158fa909dde065774e87d64d0146657126cbb4 Mon Sep 17 00:00:00 2001 From: Timofei Larkin Date: Mon, 6 Oct 2025 12:23:05 +0300 Subject: [PATCH] [kafka] Disable noisy alerts 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 [kafka] Disable useless alerts for Kafka which fire when not called for, e.g. when Kafka isn't deployed. ``` Signed-off-by: Timofei Larkin --- .../kafka-operator/templates/alerts.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/packages/system/kafka-operator/templates/alerts.yaml b/packages/system/kafka-operator/templates/alerts.yaml index 70d47014..1988991e 100644 --- a/packages/system/kafka-operator/templates/alerts.yaml +++ b/packages/system/kafka-operator/templates/alerts.yaml @@ -1,7 +1,11 @@ -{{- $files := .Files.Glob "alerts/*.yaml" -}} -{{- range $path, $file := $files }} ---- -# from: {{ $path }} -{{ toString $file }} - -{{- end -}} +{{- /* +# Disabled due to https://github.com/cozystack/cozystack/issues/790 +# {{- $files := .Files.Glob "alerts/*.yaml" -}} +# {{- range $path, $file := $files }} +# --- +# # from: {{ $path }} +# {{ toString $file }} +# +# {{- end -}} +# +*/ -}}