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

Make apiserver egress args conditional on egress-selector-mode #7972

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

brandond
Copy link
Member

@brandond brandond commented Jul 13, 2023

Proposed Changes

Make apiserver egress args conditional on egress-selector-mode

Only configure enable-aggregator-routing and egress-selector-config-file if required by egress-selector-mode.

Types of Changes

bugfix

Verification

see linked issue

Testing

Linked Issues

User-Facing Change

K3s no longer enables the apiserver's `enable-aggregator-routing` flag when the egress proxy is not being used to route connections to in-cluster endpoints.

Further Comments

@brandond brandond requested a review from a team as a code owner July 13, 2023 23:39
Only configure enable-aggregator-routing and egress-selector-config-file
if required by egress-selector-mode.

Signed-off-by: Brad Davidson <[email protected]>
@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +3.72 🎉

Comparison is base (58a8deb) 47.69% compared to head (3cd9fe1) 51.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7972      +/-   ##
==========================================
+ Coverage   47.69%   51.42%   +3.72%     
==========================================
  Files         143      143              
  Lines       14564    14566       +2     
==========================================
+ Hits         6947     7491     +544     
+ Misses       6485     5889     -596     
- Partials     1132     1186      +54     
Flag Coverage Δ
e2etests 49.22% <100.00%> (?)
inttests 44.47% <100.00%> (-0.61%) ⬇️
unittests 19.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/daemons/control/server.go 73.21% <100.00%> (+1.29%) ⬆️

... and 41 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

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.

4 participants