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 <[email protected]>
  • Loading branch information
xiaods committed Sep 1, 2023
1 parent c413c95 commit 7126e40
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 7126e40

Please sign in to comment.