From e8a0a3da17e8c0c566d7755e777112dad7870a45 Mon Sep 17 00:00:00 2001 From: Vlad Gusev Date: Mon, 23 Dec 2024 18:34:35 +0200 Subject: [PATCH] [pxc-db] Fix typo in the backup alert rule --- common/pxc-db/Chart.yaml | 2 +- common/pxc-db/templates/alerts/_backup.alerts.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/pxc-db/Chart.yaml b/common/pxc-db/Chart.yaml index f3737cfb86f..b4085a05e3b 100644 --- a/common/pxc-db/Chart.yaml +++ b/common/pxc-db/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.2 +version: 0.2.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/common/pxc-db/templates/alerts/_backup.alerts.tpl b/common/pxc-db/templates/alerts/_backup.alerts.tpl index a122eabbf03..12d8ce48148 100644 --- a/common/pxc-db/templates/alerts/_backup.alerts.tpl +++ b/common/pxc-db/templates/alerts/_backup.alerts.tpl @@ -15,7 +15,7 @@ summary: "{{ include "pxc-db.fullname" . }} cluster backup is not succeeded." - alert: {{ include "pxc-db.alerts.service" . | camelcase }}GaleraClusterBackupMissing - expr: (time() - max by (app_kubernetes_io_instance) (kube_customresource_perconaxtradbclusterbackup_completed{app_kubernetes_io_instance="{{ include "pxc-db.fullname" . }}") > 129600) + expr: (time() - max by (app_kubernetes_io_instance) (kube_customresource_perconaxtradbclusterbackup_completed{app_kubernetes_io_instance="{{ include "pxc-db.fullname" . }}"}) > 129600) for: 30m labels: context: database