From 282a1cc25374a9f961c5ddec053c26d7c38c68cd 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 b4085a05e3..44f59b4d51 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.3 +version: 0.2.4 # 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 d07702faf5..737091c34c 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