Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Pin Liqo and liqoctl to `v0.0.0-50a39cf9` (`oci://harbor.noderings.com/nrings/liqo:0.0.0-50a39cf9`). This is upstream Liqo `50a39cf`. Custom-resource reflection uses server-side apply, so provider Kopf annotations and finalizers stay in place.

## [1.0.20] - 2026-11-24

### Changed
Expand Down
6 changes: 3 additions & 3 deletions configs/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ calico:
min_version: "v3.26.0"

liqo:
version: "v0.0.0-3f1654f0"
version: "v0.0.0-50a39cf9"
timeout: "10m"
gw_service_type: "NodePort"
gw_server_service_location: "Provider"
pod_offloading_strategy: "Local"
pod_cidr: "10.200.0.0/16"
service_cidr: "10.201.0.0/16"
min_version: "v0.0.0-3f1654f0"
min_version: "v0.0.0-50a39cf9"
chart_oci: "oci://harbor.noderings.com/nrings/liqo"
chart_version: "0.0.0-3f1654f0"
chart_version: "0.0.0-50a39cf9"
proxy_url: "" # Optional proxy URL for liqo peer command
api_server_url: "" # Optional; defaults to https://<agent-ip>:6443 during registration
gw_server_service_nodeport: "" # Optional UDP NodePort for liqoctl peer
Expand Down
4 changes: 2 additions & 2 deletions internal/config/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ const (
DefaultHarborPublicProject = "nrings"

// DefaultLiqoVersion is the default Liqo / liqoctl version pin.
DefaultLiqoVersion = "v0.0.0-3f1654f0"
DefaultLiqoVersion = "v0.0.0-50a39cf9"
// DefaultLiqoChartVersion is the Helm chart version (no leading v).
DefaultLiqoChartVersion = "0.0.0-3f1654f0"
DefaultLiqoChartVersion = "0.0.0-50a39cf9"
// DefaultLiqoChartOCI is the OCI chart reference (without version tag).
DefaultLiqoChartOCI = "oci://" + DefaultHarborRegistry + "/" + DefaultHarborPublicProject + "/liqo"
// DefaultLiqoctlOCIRepo is the OCI project/repo prefix for liqoctl artifacts.
Expand Down
10 changes: 5 additions & 5 deletions internal/install/prerequisites_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ func TestNewToolValidatorUsesPlatformPins(t *testing.T) {
Components: map[string]api.ComponentPin{
api.ComponentLiqoctl: {
Name: api.ComponentLiqoctl,
Version: "v0.0.0-3f1654f0",
MinVersion: "v0.0.0-3f1654f0",
Version: "v0.0.0-50a39cf9",
MinVersion: "v0.0.0-50a39cf9",
},
api.ComponentHelm: {
Name: api.ComponentHelm,
Expand All @@ -24,8 +24,8 @@ func TestNewToolValidatorUsesPlatformPins(t *testing.T) {
}

v := NewToolValidator(pins, nil)
if got := v.requirements["liqoctl"].MinVersion; got != "0.0.0-3f1654f0" {
t.Fatalf("liqoctl min = %q, want 0.0.0-3f1654f0", got)
if got := v.requirements["liqoctl"].MinVersion; got != "0.0.0-50a39cf9" {
t.Fatalf("liqoctl min = %q, want 0.0.0-50a39cf9", got)
}
if got := v.requirements["helm"].MinVersion; got != "3.12.0" {
t.Fatalf("helm min = %q, want 3.12.0", got)
Expand All @@ -45,7 +45,7 @@ func TestNewToolValidatorFallsBackToConfigLiqoPin(t *testing.T) {

func TestValidateVersionForkPin(t *testing.T) {
v := NewValidator()
ok, err := v.validateVersion("Client version: v0.0.0-3f1654f0", "0.0.0-3f1654f0")
ok, err := v.validateVersion("Client version: v0.0.0-50a39cf9", "0.0.0-50a39cf9")
if err != nil {
t.Fatalf("validateVersion: %v", err)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/install/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ func parseOCIChartRef(ref string) (repo, version string) {
return "", ""
}
withoutScheme := strings.TrimPrefix(ref, "oci://")
// harbor.noderings.com/nrings/liqo:0.0.0-3f1654f0
// harbor.noderings.com/nrings/liqo:0.0.0-50a39cf9
if i := strings.LastIndex(withoutScheme, ":"); i > 0 {
hostPath := withoutScheme[:i]
ver := withoutScheme[i+1:]
Expand Down
14 changes: 7 additions & 7 deletions internal/install/tools_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@ func TestDeriveToolDownloadURL(t *testing.T) {
{
name: "liqoctl",
tool: "liqoctl",
version: "v0.0.0-3f1654f0",
version: "v0.0.0-50a39cf9",
goos: "linux",
goarch: "amd64",
want: "oci://harbor.noderings.com/nrings/liqoctl-linux-amd64:v0.0.0-3f1654f0",
want: "oci://harbor.noderings.com/nrings/liqoctl-linux-amd64:v0.0.0-50a39cf9",
},
{
name: "arch normalization",
tool: "liqoctl",
version: "v0.0.0-3f1654f0",
version: "v0.0.0-50a39cf9",
goos: "linux",
goarch: "aarch64",
want: "oci://harbor.noderings.com/nrings/liqoctl-linux-arm64:v0.0.0-3f1654f0",
want: "oci://harbor.noderings.com/nrings/liqoctl-linux-arm64:v0.0.0-50a39cf9",
},
{
name: "override wins",
Expand Down Expand Up @@ -321,9 +321,9 @@ func TestVersionSatisfiesTable(t *testing.T) {
{"v1.0.0", "", "v1.0.0", true},
{"v0.9.0", "v1.1.1", "v1.0.0", false},
{"", "v1.0.0", "", false},
{"Client version: v0.0.0-3f1654f0", "v0.0.0-3f1654f0", "", true},
{"Client version: v1.1.1", "v0.0.0-3f1654f0", "", false},
{"v1.1.1", "v0.0.0-3f1654f0", "", false},
{"Client version: v0.0.0-50a39cf9", "v0.0.0-50a39cf9", "", true},
{"Client version: v1.1.1", "v0.0.0-50a39cf9", "", false},
{"v1.1.1", "v0.0.0-50a39cf9", "", false},
}
for _, tc := range cases {
if got := VersionSatisfies(tc.current, tc.required, tc.min); got != tc.want {
Expand Down
Loading