Commit ccd0168a authored by Yuxing Deng's avatar Yuxing Deng Committed by Brad Davidson

Make LB image configurable when compiling k3s

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: 's avatarYuxing Deng <jxfa0043379@hotmail.com> (cherry picked from commit b64a226e)
parent 81da67b9
...@@ -41,8 +41,11 @@ var ( ...@@ -41,8 +41,11 @@ var (
) )
const ( const (
Ready = condition.Cond("Ready") Ready = condition.Cond("Ready")
DefaultLBNS = meta.NamespaceSystem DefaultLBNS = meta.NamespaceSystem
)
var (
DefaultLBImage = "rancher/klipper-lb:v0.4.4" DefaultLBImage = "rancher/klipper-lb:v0.4.4"
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment