-
Notifications
You must be signed in to change notification settings - Fork 102
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
Remove ReplicaSet informer #1204
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1204 +/- ##
==========================================
+ Coverage 73.29% 82.06% +8.77%
==========================================
Files 135 136 +1
Lines 11549 11420 -129
==========================================
+ Hits 8465 9372 +907
+ Misses 2427 1514 -913
+ Partials 657 534 -123
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Small remark about a bug in the docs.
docs/sources/configure/options.md
Outdated
@@ -662,6 +662,25 @@ establish communication with the Kubernetes Cluster. | |||
|
|||
Usually you won't need to change this value. | |||
|
|||
| YAML | Environment variable | Type | Default | | |||
|---------------------|--------------------------------|--------|------------------| | |||
| `disable_informers` | `BEYLA_KUBE_DISABLE_INFORMERS` | string | `~/.kube/config` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the default here is a copy paste mistake, probably should be empty
Continuation of #1202, closes first item of #1198
The ReplicaSet informer was only needed to get the name of the owning Deployment. As long as that deployment name is already part of the ReplicaSet informer, we don't actually need to make use of the Kube API for that.
This PR removes all the code related to ReplicaSet informers.