-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Closed
Labels
component:auditInformation that helps use to track application history (app events, proj event etc)Information that helps use to track application history (app events, proj event etc)enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
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:
argo-cd/util/argo/audit_logger.go
Lines 40 to 46 in 2162aaf
EventReasonStatusRefreshed = "StatusRefreshed" | |
EventReasonResourceCreated = "ResourceCreated" | |
EventReasonResourceUpdated = "ResourceUpdated" | |
EventReasonResourceDeleted = "ResourceDeleted" | |
EventReasonResourceActionRan = "ResourceActionRan" | |
EventReasonOperationStarted = "OperationStarted" | |
EventReasonOperationCompleted = "OperationCompleted" |
argo-cd/server/application/application.go
Line 1901 in 2162aaf
s.logAppEvent(a, ctx, argo.EventReasonOperationStarted, reason) |
argo-cd/docs/operator-manual/security.md
Line 190 in 2162aaf
$ kubectl get events |
diranged, ptr1120, tooptoop4, Jack-R-lantern and jenting
Metadata
Metadata
Assignees
Labels
component:auditInformation that helps use to track application history (app events, proj event etc)Information that helps use to track application history (app events, proj event etc)enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers