Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: skip by reason and skip pod updates... #4

Merged
merged 2 commits into from
May 11, 2021

Conversation

paxbit
Copy link

@paxbit paxbit commented May 11, 2021

added:

NS annotation sentry/skip-event-reasons:
allow configuration of skip event reasons per namespace

env SKIP_EVENT_REASONS:
global skip by reason config if NS has no skip config annotation

Pod annotation sentry/ignore-pod-updates=true:
allows for suppression of pod update event handling through the forwarder

changed:

skip config declaration format now supports specifying a resource type before a criteria:
[involved object type:]criteria[,...]
E.g. normal,Pod:warning,Service:error
See: parseSkipConfig(...) at skip.go:71

paxbit added 2 commits May 7, 2021 21:39
added:
- NS annotation secunet.sentry/skip-event-reasons:
  allow configuration of skip event reasons per namespace

- env SKIP_EVENT_REASONS:
  global skip by reason config if NS has no skip config annotation

- Pod annotation secunet.sentry/ignore-pod-updates=true:
  allows for suppression of pod update event handling through the forwarder

changed:
- skip config declaration format now supports specifying a resource type before a criteria:
  [involved object type:]criteria[,...]
  E.g. normal,Pod:warning,Service:error
  See: parseSkipConfig(...) at skip.go:71
@janLo janLo merged commit f28ead0 into janLo:refactor-pod-observation May 11, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants