Skip to content

Commit

Permalink
Make LB image configurable when compiling k3s
Browse files Browse the repository at this point in the history
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 <jxfa0043379@hotmail.com>
  • Loading branch information
orangedeng authored and brandond committed May 31, 2023
1 parent f58b7bd commit b64a226
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/cloudprovider/servicelb.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ var (
)

const (
Ready = condition.Cond("Ready")
DefaultLBNS = meta.NamespaceSystem
Ready = condition.Cond("Ready")
DefaultLBNS = meta.NamespaceSystem
)

var (
DefaultLBImage = "rancher/klipper-lb:v0.4.4"
)

Expand Down

0 comments on commit b64a226

Please sign in to comment.