fix(infra-certificates): group alerts by namespace
This commit is contained in:
parent
2c7608d85a
commit
5057be0a35
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ spec:
|
|||
severity: "critical"
|
||||
detectedBy: "CertManager"
|
||||
{{`
|
||||
namespace: "{{ $labels.exported_namespace }}"
|
||||
annotations:
|
||||
summary: "SSL certificate {{ $labels.name }} in namespace {{ $labels.exported_namespace }} by {{ $labels.issuer_kind }} {{ $labels.issuer_name }} will expire in {{ $value | humanizeDuration }}"
|
||||
`}}
|
||||
|
@ -29,6 +30,7 @@ spec:
|
|||
severity: "warning"
|
||||
detectedBy: "CertManager"
|
||||
{{`
|
||||
namespace: "{{ $labels.exported_namespace }}"
|
||||
annotations:
|
||||
summary: "SSL certificate {{ $labels.name }} in namespace {{ $labels.exported_namespace }} by {{ $labels.issuer_kind }} {{ $labels.issuer_name }} will expire in {{ $value | humanizeDuration }}."
|
||||
`}}
|
||||
|
@ -39,6 +41,7 @@ spec:
|
|||
labels:
|
||||
severity: "critical"
|
||||
{{`
|
||||
namespace: "{{ $labels.exported_namespace }}"
|
||||
annotations:
|
||||
summary: "Certificate {{ $labels.name }} in namespace {{ $labels.exported_namespace }} is not ready by {{ $labels.issuer_kind }} {{ $labels.issuer_name }}"
|
||||
`}}
|
||||
|
|
Loading…
Add table
Reference in a new issue