From 19562f60220b4d8292e4dc3bc4fa8d5eab4b332a Mon Sep 17 00:00:00 2001 From: "thibault.raquet" Date: Thu, 26 Sep 2024 09:57:30 +0200 Subject: [PATCH] Upgrade flux alerts --- infrastructure/flux-resources/alerts.yaml | 36 ----------------------- 1 file changed, 36 deletions(-) diff --git a/infrastructure/flux-resources/alerts.yaml b/infrastructure/flux-resources/alerts.yaml index 34067b9..02fb96b 100644 --- a/infrastructure/flux-resources/alerts.yaml +++ b/infrastructure/flux-resources/alerts.yaml @@ -10,18 +10,6 @@ spec: secretRef: name: msteams-url ---- -apiVersion: notification.toolkit.fluxcd.io/v1beta3 -kind: Provider -metadata: - name: grafana - namespace: flux-system -spec: - type: grafana - address: "http://prometheus-stack-grafana.common-services.svc.cluster.local/api/annotations" - secretRef: - name: grafana-auth - --- apiVersion: notification.toolkit.fluxcd.io/v1beta3 kind: Alert @@ -48,27 +36,3 @@ spec: name: '*' - kind: HelmRelease name: '*' - ---- -apiVersion: notification.toolkit.fluxcd.io/v1beta3 -kind: Alert -metadata: - name: grafana - namespace: flux-system -spec: - eventMetadata: - env: ${CI_ENVIRONMENT_NAME} - providerRef: - name: grafana - eventSeverity: info - exclusionList: - - "^Dependencies.*" - eventSources: - - kind: GitRepository - name: '*' - - kind: Kustomization - name: '*' - - kind: HelmRepository - name: '*' - - kind: HelmRelease - name: '*'