From e3b09236c425ae9b47a51610fec59fad9a091b70 Mon Sep 17 00:00:00 2001 From: QuentinBisson Date: Tue, 1 Oct 2024 11:12:10 +0200 Subject: [PATCH] Prepare removal of chart-operator --- .../atlas/alerting-rules/deployment.workload-cluster.rules.yml | 1 + .../platform/honeybadger/alerting-rules/chart.rules.yml | 1 + .../templates/platform/honeybadger/alerting-rules/helm.rules.yml | 1 + .../honeybadger/recording-rules/helm-operations.rules.yml | 1 + .../honeybadger/alerting-rules/helm-operations.rules.test.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/helm/prometheus-rules/templates/platform/atlas/alerting-rules/deployment.workload-cluster.rules.yml b/helm/prometheus-rules/templates/platform/atlas/alerting-rules/deployment.workload-cluster.rules.yml index 327564d70..599682b91 100644 --- a/helm/prometheus-rules/templates/platform/atlas/alerting-rules/deployment.workload-cluster.rules.yml +++ b/helm/prometheus-rules/templates/platform/atlas/alerting-rules/deployment.workload-cluster.rules.yml @@ -13,6 +13,7 @@ spec: groups: - name: deployment rules: + # TODO - This is only used by the chart-operator, let's get rid of it when the chart operator is gone. - alert: WorkloadClusterDeploymentNotSatisfied annotations: description: '{{`Deployment {{ $labels.namespace}}/{{ $labels.deployment }} is not satisfied.`}}' diff --git a/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/chart.rules.yml b/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/chart.rules.yml index 205809331..c9bc42ce4 100644 --- a/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/chart.rules.yml +++ b/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/chart.rules.yml @@ -1,3 +1,4 @@ +# TODO - This is only used by the chart-operator, let's get rid of it when the chart operator is gone. apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: diff --git a/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/helm.rules.yml b/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/helm.rules.yml index 30435e82c..a07271c66 100644 --- a/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/helm.rules.yml +++ b/helm/prometheus-rules/templates/platform/honeybadger/alerting-rules/helm.rules.yml @@ -1,3 +1,4 @@ +# TODO - This is only used by the chart-operator, let's get rid of it when the chart operator is gone. apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: diff --git a/helm/prometheus-rules/templates/platform/honeybadger/recording-rules/helm-operations.rules.yml b/helm/prometheus-rules/templates/platform/honeybadger/recording-rules/helm-operations.rules.yml index ce867f849..a703dce91 100644 --- a/helm/prometheus-rules/templates/platform/honeybadger/recording-rules/helm-operations.rules.yml +++ b/helm/prometheus-rules/templates/platform/honeybadger/recording-rules/helm-operations.rules.yml @@ -1,3 +1,4 @@ +# TODO - This is only used by the chart-operator, let's get rid of it when the chart operator is gone. apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: diff --git a/test/tests/providers/global/platform/honeybadger/alerting-rules/helm-operations.rules.test.yml b/test/tests/providers/global/platform/honeybadger/alerting-rules/helm-operations.rules.test.yml index 676e52a3d..54a65b1a6 100644 --- a/test/tests/providers/global/platform/honeybadger/alerting-rules/helm-operations.rules.test.yml +++ b/test/tests/providers/global/platform/honeybadger/alerting-rules/helm-operations.rules.test.yml @@ -1,3 +1,4 @@ +# TODO - This is only used by the chart-operator, let's get rid of it when the chart operator is gone. --- rule_files: - helm-operations.rules.yml