fix(infra-fluxcd): alert correct label namespace on alert

This commit is contained in:
WrenIX 2024-09-06 10:50:12 +02:00
parent 882ec5ee56
commit 9d52fbaf45
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5

View file

@ -17,6 +17,7 @@ spec:
labels:
severity: "warning"
{{`
namespace: "{{ $labels.exported_namespace }}"
annotations:
summary: "FluxCD has not fetched a source in {{ $labels.exported_namespace }} correct"
description: "FluxCD has not fetched the source {{ $labels.name }} of {{ $labels.kind }} in {{ $labels.exported_namespace }}"
@ -28,6 +29,7 @@ spec:
labels:
severity: "warning"
{{`
namespace: "{{ $labels.exported_namespace }}"
annotations:
summary: "FluxCD has not installed something in {{ $labels.exported_namespace }} correct"
description: "FluxCD has not installed {{ $labels.name }} of {{ $labels.kind }} in {{ $labels.exported_namespace }} correct"
@ -41,6 +43,7 @@ spec:
labels:
severity: "warning"
{{`
namespace: "{{ $labels.exported_namespace }}"
annotations:
summary: "FluxCD has not fetched a source in {{ $labels.exported_namespace }} correct"
description: "FluxCD has not fetched the source {{ $labels.name }} of {{ $labels.kind }} in {{ $labels.exported_namespace }}"
@ -52,6 +55,7 @@ spec:
labels:
severity: "warning"
{{`
namespace: "{{ $labels.exported_namespace }}"
annotations:
summary: "FluxCD has not installed something in {{ $labels.exported_namespace }} correct"
description: "FluxCD has not installed {{ $labels.name }} of {{ $labels.kind }} in {{ $labels.exported_namespace }} correct"