Files
homelab/components/eso/instance/base/prometheus-rule.yaml
rblundon fe564d7227 Squashed 'cluster-config/' content from commit 654f2390
git-subtree-dir: cluster-config
git-subtree-split: 654f23903bd1f9a27a4810bd289d165b6cfdbb0c
2025-03-30 15:46:16 -05:00

21 lines
658 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: external-secrets
namespace: external-secrets
spec:
groups:
- name: ExternalSecrets
rules:
- alert: ExternalSecretSyncError
annotations:
description: |-
The external secret {{ $labels.exported_namespace }}/{{ $labels.name }} failed to synced.
Use this command to check the status:
oc get externalsecret {{ $labels.name }} -n {{ $labels.exported_namespace }}
summary: External secret failed to sync
labels:
severity: warning
expr: externalsecret_status_condition{status="False"} == 1
for: 5m