Skip to content
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

listener options merge what translator generates #10578

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

stevenctl
Copy link

@stevenctl stevenctl commented Jan 21, 2025

Description

A translator may generate a Listener with ListenerOptions (it's currently the internal IR).
A user listener opts should not automatically clear unrelated items in ListenerOptions.
This would also apply if another plugin used ListenerOptions.

API changes

ListenerOptions will now act as an overlay to system ones (if the system ones exist).

Code changes

Use proto merge when existing options are on the listener.

Testing steps

Added base options in the unit tests

Notes for reviewers

Open to manually implementing merge logic instead of proto merge

BOT NOTES:
resolves https://github.com/solo-io/solo-projects/issues/7300

@stevenctl stevenctl force-pushed the merge-listener-opts branch from d2beba6 to b563ba7 Compare January 22, 2025 21:33
@solo-changelog-bot
Copy link

Issues linked to changelog:
https://github.com/solo-io/solo-projects/issues/7300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant