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 LB image configurable when compiling k3s #7626

Merged
merged 1 commit into from
May 31, 2023

Conversation

orangedeng
Copy link
Contributor

It is no way we can configure the lb image because it is a const value. It would be better that we make it variable value and we can override the value like the helm-controller job image when compiling k3s/rke2

Proposed Changes

Make DefaultLBImage as a variable value instead of const value.

Types of Changes

New Feature

Verification

N/A

Testing

Basically there is nothing changed after the PR merge as the variable name is not changed but I think we should test the service LB function in k3s cluster after merge.

Linked Issues

Issue: #7625

User-Facing Change

No

Further Comments

No

@orangedeng orangedeng requested a review from a team as a code owner May 30, 2023 07:12
@orangedeng orangedeng force-pushed the make-lb-image-configurable branch from f9f4ff4 to 31b50ea Compare May 30, 2023 07:13
@codecov
Copy link

codecov bot commented May 30, 2023

Codecov Report

Patch coverage has no change and project coverage change: +27.79 🎉

Comparison is base (a5928ee) 19.85% compared to head (d589088) 47.65%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #7626       +/-   ##
===========================================
+ Coverage   19.85%   47.65%   +27.79%     
===========================================
  Files          81      140       +59     
  Lines        7640    14323     +6683     
===========================================
+ Hits         1517     6825     +5308     
- Misses       5894     6419      +525     
- Partials      229     1079      +850     
Flag Coverage Δ
inttests 45.01% <ø> (?)
unittests 19.85% <ø> (ø)

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

Impacted Files Coverage Δ
pkg/cloudprovider/servicelb.go 61.39% <ø> (+57.49%) ⬆️

... and 114 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.

It is no way we can configure the lb image because it is a const value.
It would be better that we make it variable value and we can override
the value like the `helm-controller` job image when compiling k3s/rke2

Signed-off-by: Yuxing Deng <[email protected]>
@orangedeng orangedeng force-pushed the make-lb-image-configurable branch from 31b50ea to d589088 Compare May 31, 2023 02:13
@orangedeng orangedeng closed this May 31, 2023
@brandond brandond reopened this May 31, 2023
@brandond
Copy link
Member

I'm ok with this, I just wanted to make sure we engage the right folks to understand the product changes driving it.

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.

3 participants