diff --git a/charts/stable/promcord/Chart.yaml b/charts/stable/promcord/Chart.yaml index c9fb9bc6..b85d1021 100644 --- a/charts/stable/promcord/Chart.yaml +++ b/charts/stable/promcord/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: latest description: Discord bot that provides metrics from a Discord server name: promcord -version: 5.0.0 +version: 5.0.1 kubeVersion: ">=1.16.0-0" keywords: - promcord diff --git a/charts/stable/promcord/README.md b/charts/stable/promcord/README.md index 3f260b69..96fe4608 100644 --- a/charts/stable/promcord/README.md +++ b/charts/stable/promcord/README.md @@ -1,6 +1,6 @@ # promcord -![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 5.0.1](https://img.shields.io/badge/Version-5.0.1-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) Discord bot that provides metrics from a Discord server diff --git a/charts/stable/promcord/templates/prometheusrules.yaml b/charts/stable/promcord/templates/prometheusrules.yaml index 4198e0bf..0dec5c1c 100644 --- a/charts/stable/promcord/templates/prometheusrules.yaml +++ b/charts/stable/promcord/templates/prometheusrules.yaml @@ -10,14 +10,14 @@ metadata: {{- end }} spec: groups: - - name: promcord + - name: {{ include "common.names.fullname" . }} rules: - alert: PromcordAbsent annotations: description: Promcord has disappeared from Prometheus service discovery. summary: Promcord is down. expr: | - absent(up{job=~".*promcord.*"} == 1) + absent(up{job="{{ include "common.names.fullname" . }}"} == 1) for: 5m labels: severity: critical