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

Some resources always send a notification #234

Closed
mbrancato opened this issue Aug 22, 2021 · 5 comments
Closed

Some resources always send a notification #234

mbrancato opened this issue Aug 22, 2021 · 5 comments

Comments

@mbrancato
Copy link

Is there a way that we can prevent notifications for "changes" to resources that are not being changed? I don't know the best way to actually determine if changes were made, maybe this is an upstream issue.

It might be that this is caused by the kustomize.toolkit.fluxcd.io/checksum label. Is there any way to ignore this since we get flooded with objects being changed when they are not.

@heschlie
Copy link

The ImagePolicy resource also spams notifications. I feel like most folks would expect notifications to only be "Hey this thing changed" as right now those get lost in all of the "Hey here is the same message I posted 5 minutes ago".

@uderik
Copy link

uderik commented Aug 23, 2021

I have not found a normal solution to send messages only for new image releases via alert, ImagePolicy spam message on every scan

@stefanprodan
Copy link
Member

stefanprodan commented Aug 24, 2021

Policy spam issue tracked here: fluxcd/image-reflector-controller#166

@pkit
Copy link

pkit commented Oct 25, 2021

Policy spam issue tracked here: fluxcd/image-reflector-controller#166

I'm not sure how should I track which resources spam and which are not?
What I see is that after upgrade to flux = 0.19.1 from 0.17.2 some resources started spamming with "green" configured messages.
And I have no indication in logs what's causing that.
Namely

Service/projectcontour/envoy configured
Deployment/default/external-dns configured

@stefanprodan
Copy link
Member

@pkit please open an issue in kustomize-controller repo, if you could provide a repo with the contour and external-dns I will try to replicate the bug and fix it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants