From 212892c60b1d8ff776500c415faf8fc7e02b3b8c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 16 Sep 2024 14:53:19 +0200 Subject: [PATCH] Bump kine to 0.12.2 Signed-off-by: Natanael Copa --- embedded-bins/Makefile.variables | 4 ++-- pkg/component/controller/kine.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/embedded-bins/Makefile.variables b/embedded-bins/Makefile.variables index 78ece9fdf1b8..ec512d5943c6 100644 --- a/embedded-bins/Makefile.variables +++ b/embedded-bins/Makefile.variables @@ -32,11 +32,11 @@ kubernetes_build_go_flags = "-v" #kubernetes_build_go_ldflags = kubernetes_build_go_ldflags_extra = "-extldflags=-static" -kine_version = 0.12.1 +kine_version = 0.12.2 kine_buildimage = $(golang_buildimage) kine_build_go_tags = nats #kine_build_go_cgo_enabled = -# Flags taken from https://github.com/k3s-io/kine/blob/v0.12.1/scripts/build#L22 +# Flags taken from https://github.com/k3s-io/kine/blob/v0.12.2/scripts/build#L22 kine_build_go_cgo_cflags = -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_USE_ALLOCA=1 #kine_build_go_flags = diff --git a/pkg/component/controller/kine.go b/pkg/component/controller/kine.go index d67673d4cbd1..0cdb65fc56b8 100644 --- a/pkg/component/controller/kine.go +++ b/pkg/component/controller/kine.go @@ -122,7 +122,7 @@ func (k *Kine) Start(ctx context.Context) error { fmt.Sprintf("--endpoint=%s", k.Config.DataSource), // NB: kine doesn't parse URLs properly, so construct potentially // invalid URLs that are understood by kine. - // https://github.com/k3s-io/kine/blob/v0.12.1/pkg/endpoint/endpoint.go#L251-L259 + // https://github.com/k3s-io/kine/blob/v0.12.2/pkg/endpoint/endpoint.go#L251-L259 fmt.Sprintf("--listen-address=unix://%s", k.K0sVars.KineSocketPath), // Enable metrics on port 2380. The default is 8080, which clashes with kube-router. "--metrics-bind-address=:2380",