Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add flux alert template with namespace transformer #8639

Merged
merged 2 commits into from
Jan 11, 2025

Conversation

onedr0p
Copy link
Owner

@onedr0p onedr0p commented Jan 11, 2025

No description provided.

@bot-ross bot-ross bot added the area/kubernetes Changes made in the kubernetes directory label Jan 11, 2025
@bot-ross
Copy link
Contributor

bot-ross bot commented Jan 11, 2025

--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: actions-runner-system/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: actions-runner-system/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: actions-runner-system
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket
--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: cert-manager/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: cert-manager/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: cert-manager
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket
--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: default/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: default/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: default
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket
--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: external-secrets/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: external-secrets/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: external-secrets
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket
--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: kube-system/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: kube-system/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: kube-system
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket
--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: kyverno/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: kyverno/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: kyverno
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket
--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: network/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: network/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: network
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket
--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: observability/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: observability/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: observability
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket
--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: openebs-system/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: openebs-system/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: openebs-system
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket
--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: rook-ceph/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: rook-ceph/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: rook-ceph
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket
--- kubernetes/apps Kustomization: flux-system/cluster-apps Alert: volsync-system/alert-manager

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Alert: volsync-system/alert-manager

@@ -7,13 +7,21 @@

     kustomize.toolkit.fluxcd.io/namespace: flux-system
   name: alert-manager
   namespace: volsync-system
 spec:
   eventSeverity: error
   eventSources:
+  - kind: GitRepository
+    name: '*'
   - kind: HelmRelease
+    name: '*'
+  - kind: HelmRepository
+    name: '*'
+  - kind: Kustomization
+    name: '*'
+  - kind: OCIRepository
     name: '*'
   exclusionList:
   - error.*lookup github\.com
   - error.*lookup raw\.githubusercontent\.com
   - dial.*tcp.*timeout
   - waiting.*socket

@onedr0p onedr0p merged commit 23085a6 into main Jan 11, 2025
9 checks passed
@onedr0p onedr0p deleted the flux-alert-namespace-transformer branch January 11, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant