diff --git a/infra-fluxcd/templates/prometheus-rule.yaml b/infra-fluxcd/templates/prometheus-rule.yaml index 43b19b3..17a54a2 100644 --- a/infra-fluxcd/templates/prometheus-rule.yaml +++ b/infra-fluxcd/templates/prometheus-rule.yaml @@ -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"