Squashed 'cluster-config/' content from commit 654f2390
git-subtree-dir: cluster-config git-subtree-split: 654f23903bd1f9a27a4810bd289d165b6cfdbb0c
This commit is contained in:
20
components/eso/instance/base/prometheus-rule.yaml
Normal file
20
components/eso/instance/base/prometheus-rule.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user