-
Notifications
You must be signed in to change notification settings - Fork 2.8k
refactor(source/istio): add transformers #5728
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
refactor(source/istio): add transformers #5728
Conversation
/retest |
956b583
to
39f237c
Compare
39f237c
to
daa007e
Compare
Signed-off-by: ivan katliarchuk <[email protected]>
daa007e
to
6a0f06c
Compare
Signed-off-by: ivan katliarchuk <[email protected]>
Signed-off-by: ivan katliarchuk <[email protected]>
Signed-off-by: ivan katliarchuk <[email protected]>
Signed-off-by: ivan katliarchuk <[email protected]>
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ivankatliarchuk The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* chore(source/istio): added transfomrers Signed-off-by: ivan katliarchuk <[email protected]> * chore(source/istio): added transfomrers Signed-off-by: ivan katliarchuk <[email protected]> * chore(source/istio): added transfomrers Signed-off-by: ivan katliarchuk <[email protected]> * chore(source/istio): added transfomrers Signed-off-by: ivan katliarchuk <[email protected]> --------- Signed-off-by: ivan katliarchuk <[email protected]>
What does it do ?
Reduce memory footprint for service kinds in istio sources. Similar solution to #5596, with difference that trying to work out a framework that could be used accross multiple kube object kinds
Follow-up:
external-dns/source/istio_gateway.go
Line 195 in bb7a8af
external-dns/endpoint/endpoint.go
Line 252 in bb7a8af
external-dns/source/istio_gateway.go
Line 233 in bb7a8af
external-dns/source/istio_virtualservice.go
Line 420 in bb7a8af
istio
andistio_virtualservice
enabled, the same logic is executed twice, and then wrapperdedupsource
removes duplicates. This is super inneficient, as same logic executed in both sourcesMotivation
Slicing PR #5708
Relates: #5595
More