Upgrade flux alerts

This commit is contained in:
thibault.raquet 2024-09-26 09:57:30 +02:00
parent 0baa23c825
commit 19562f6022

View file

@ -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: '*'