Skip to content

ciliumenvoyconfig: Unexperimentalize the new implementation #39086

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

Merged
merged 5 commits into from
Apr 25, 2025

Conversation

joamaki
Copy link
Contributor

@joamaki joamaki commented Apr 22, 2025

Move the old implementation to pkg/ciliumenvoyconfig/legacy and rename the files. This makes it easy to remove the old implementation in few weeks once we're happy with the new implementation and avoids confusion during this period.

As part of this I noticed that the feature metrics were not implemented for the new implementation so added that too.

@joamaki joamaki added the release-note/misc This PR makes changes that have no direct user impact. label Apr 22, 2025
@joamaki joamaki requested a review from mhofstetter April 22, 2025 14:42
@joamaki joamaki force-pushed the pr/joamaki/unexperimentalize-cec branch from aa2dd78 to 591173a Compare April 22, 2025 14:47
Copy link
Member

@mhofstetter mhofstetter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - rename looks good to me. But it looks like some tests are failing.

@joamaki joamaki force-pushed the pr/joamaki/unexperimentalize-cec branch from 591173a to 7590c97 Compare April 23, 2025 08:21
@joamaki
Copy link
Contributor Author

joamaki commented Apr 23, 2025

Thanks - rename looks good to me. But it looks like some tests are failing.

Yeeep, looks like I forgot to provide the PortAllocator. Fixed.

@joamaki joamaki force-pushed the pr/joamaki/unexperimentalize-cec branch from 7590c97 to c8c6505 Compare April 23, 2025 08:24
@joamaki
Copy link
Contributor Author

joamaki commented Apr 23, 2025

/test

@joamaki joamaki marked this pull request as ready for review April 23, 2025 13:19
@joamaki joamaki requested review from a team as code owners April 23, 2025 13:19
joamaki added 5 commits April 24, 2025 09:49
Make the resource parser available other packages. This will be used by
the legacy implementation which the next commit moves into another package.

Move the test cases associated with the CECResourceParser to its test suite.:w
:

Signed-off-by: Jussi Maki <jussi@isovalent.com>
Move the config struct to its own file and export for use in the legacy
cell.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
Move the old implementation to pkg/ciliumenvoyconfig/legacy to make it
clear it is not used by default.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
Drop the spec type from AddCEC etc. calls as that's not available for DelCEC.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
Remove the exp_ prefixes. Remove mention of experimental.
Rename CECMetrics to FeatureMetrics to avoid confusion.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
@joamaki joamaki force-pushed the pr/joamaki/unexperimentalize-cec branch from c8c6505 to 608b887 Compare April 24, 2025 07:49
@joamaki
Copy link
Contributor Author

joamaki commented Apr 24, 2025

/test

@joamaki joamaki enabled auto-merge April 24, 2025 14:02
@joamaki joamaki added this pull request to the merge queue Apr 25, 2025
Merged via the queue into cilium:main with commit 20a2821 Apr 25, 2025
66 of 67 checks passed
@joamaki joamaki deleted the pr/joamaki/unexperimentalize-cec branch April 25, 2025 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants