[home-assistant] fix rules (#1195)

This commit is contained in:
j_r0dd 2021-09-13 11:55:31 -04:00 committed by GitHub
parent 9aa89c3c4a
commit 7f835947b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2021.6.3
description: Home Assistant
name: home-assistant
version: 11.0.1
version: 11.0.2
kubeVersion: ">=1.16.0-0"
keywords:
- home-assistant

View File

@ -1,6 +1,6 @@
# home-assistant
![Version: 11.0.1](https://img.shields.io/badge/Version-11.0.1-informational?style=flat-square) ![AppVersion: 2021.6.3](https://img.shields.io/badge/AppVersion-2021.6.3-informational?style=flat-square)
![Version: 11.0.2](https://img.shields.io/badge/Version-11.0.2-informational?style=flat-square) ![AppVersion: 2021.6.3](https://img.shields.io/badge/AppVersion-2021.6.3-informational?style=flat-square)
Home Assistant

View File

@ -17,7 +17,7 @@ spec:
description: Home Assistant has disappeared from Prometheus service discovery.
summary: Home Assistant is down.
expr: |
absent(up{job="{{ include "common.names.fullname" . }}"} == 1)
absent(up{job=~".*{{ include "common.names.fullname" . }}.*"} == 1)
for: 5m
labels:
severity: critical