Open tooptoop4 opened 2 weeks ago
@pasha-codefresh I would like to work on this issue, can you assign me an issue?
Thank you @Jack-R-lantern
@tooptoop4 Is it better to implement logging on/off based on the reason for the event? Or should we implement on/off based on the kind?
i was interested in turning off all
Summary
Environment variable/config to stop writing k8s events
Motivation
When i want to stop etcd filling up
Proposal
These parts of the code are writing k8s events which end up being stored in etcd:
https://github.com/argoproj/argo-cd/blob/2162aaf727ead1bcecc992b5f7a2ffa36aa96d04/util/argo/audit_logger.go#L40-L46
https://github.com/argoproj/argo-cd/blob/2162aaf727ead1bcecc992b5f7a2ffa36aa96d04/server/application/application.go#L1901
https://github.com/argoproj/argo-cd/blob/2162aaf727ead1bcecc992b5f7a2ffa36aa96d04/docs/operator-manual/security.md?plain=1#L190