This repository has been archived by the owner on Sep 14, 2020. It is now read-only.
Resources filtered out in event handlers still get annotated by Kopf #374
Labels
bug
Something isn't working
Long story short
Resources that are indicated to be of no interest to an event handler through a filter (like label=) still get annotated with Kopf data like
/last-handled-configuration
, across the entire cluster.Description
I have an Operator that watches Pod events with specific label values, so the event handlers use the label= filter. However, whenever the Operator runs all pods in all namespaces get updated with annotations for persisted progress and diffbase data, instead of just the filtered pods.
Coupled with issue #372, this could be disruptive to a cluster, since it's possible that unrelated operators can no longer add annotations to the pods they're managing, because the resource size grew too big with data from unrelated operators.
The code snippet to reproduce the issue
The exact command to reproduce the issue
The full output of the command that failed
Environment
Python packages installed
The text was updated successfully, but these errors were encountered: