mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-02 23:39:03 +00:00
[blocky] fix rules (#1201)
This commit is contained in:
parent
8af40e02e4
commit
2d0f83c2df
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v0.15
|
||||
description: DNS proxy as ad-blocker for local network
|
||||
name: blocky
|
||||
version: 9.0.1
|
||||
version: 9.0.2
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- blocky
|
||||
|
@ -1,6 +1,6 @@
|
||||
# blocky
|
||||
|
||||
![Version: 9.0.1](https://img.shields.io/badge/Version-9.0.1-informational?style=flat-square) ![AppVersion: v0.15](https://img.shields.io/badge/AppVersion-v0.15-informational?style=flat-square)
|
||||
![Version: 9.0.2](https://img.shields.io/badge/Version-9.0.2-informational?style=flat-square) ![AppVersion: v0.15](https://img.shields.io/badge/AppVersion-v0.15-informational?style=flat-square)
|
||||
|
||||
DNS proxy as ad-blocker for local network
|
||||
|
||||
|
@ -17,7 +17,7 @@ spec:
|
||||
description: Blocky has disappeared from Prometheus service discovery.
|
||||
summary: Blocky is down.
|
||||
expr: |
|
||||
absent(up{job="{{ include "common.names.fullname" . }}"} == 1)
|
||||
absent(up{job=~".*{{ include "common.names.fullname" . }}.*"} == 1)
|
||||
for: 5m
|
||||
labels:
|
||||
severity: critical
|
||||
@ -27,7 +27,7 @@ spec:
|
||||
Please re-enable protection.
|
||||
summary: Blocky is disabled.
|
||||
expr: |
|
||||
blocky_blocking_enabled == 0
|
||||
blocky_blocking_enabled{job=~".*{{ include "common.names.fullname" . }}.*"} == 0
|
||||
for: 15m
|
||||
labels:
|
||||
severity: critical
|
||||
|
Loading…
Reference in New Issue
Block a user