Skip to content

Commit 5cf25ea

Browse files
authored
Merge pull request #14 from noderings/chore/liqo-v0.0.0-50a39cf9
Pin Liqo and liqoctl to Harbor v0.0.0-50a39cf9
2 parents c46fc48 + eb22d08 commit 5cf25ea

6 files changed

Lines changed: 22 additions & 18 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- 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.
13+
1014
## [1.0.20] - 2026-11-24
1115

1216
### Changed

‎configs/default.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ calico:
4141
min_version: "v3.26.0"
4242

4343
liqo:
44-
version: "v0.0.0-3f1654f0"
44+
version: "v0.0.0-50a39cf9"
4545
timeout: "10m"
4646
gw_service_type: "NodePort"
4747
gw_server_service_location: "Provider"
4848
pod_offloading_strategy: "Local"
4949
pod_cidr: "10.200.0.0/16"
5050
service_cidr: "10.201.0.0/16"
51-
min_version: "v0.0.0-3f1654f0"
51+
min_version: "v0.0.0-50a39cf9"
5252
chart_oci: "oci://harbor.noderings.com/nrings/liqo"
53-
chart_version: "0.0.0-3f1654f0"
53+
chart_version: "0.0.0-50a39cf9"
5454
proxy_url: "" # Optional proxy URL for liqo peer command
5555
api_server_url: "" # Optional; defaults to https://<agent-ip>:6443 during registration
5656
gw_server_service_nodeport: "" # Optional UDP NodePort for liqoctl peer

‎internal/config/constants.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ const (
5555
DefaultHarborPublicProject = "nrings"
5656

5757
// DefaultLiqoVersion is the default Liqo / liqoctl version pin.
58-
DefaultLiqoVersion = "v0.0.0-3f1654f0"
58+
DefaultLiqoVersion = "v0.0.0-50a39cf9"
5959
// DefaultLiqoChartVersion is the Helm chart version (no leading v).
60-
DefaultLiqoChartVersion = "0.0.0-3f1654f0"
60+
DefaultLiqoChartVersion = "0.0.0-50a39cf9"
6161
// DefaultLiqoChartOCI is the OCI chart reference (without version tag).
6262
DefaultLiqoChartOCI = "oci://" + DefaultHarborRegistry + "/" + DefaultHarborPublicProject + "/liqo"
6363
// DefaultLiqoctlOCIRepo is the OCI project/repo prefix for liqoctl artifacts.

‎internal/install/prerequisites_test.go‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ func TestNewToolValidatorUsesPlatformPins(t *testing.T) {
1212
Components: map[string]api.ComponentPin{
1313
api.ComponentLiqoctl: {
1414
Name: api.ComponentLiqoctl,
15-
Version: "v0.0.0-3f1654f0",
16-
MinVersion: "v0.0.0-3f1654f0",
15+
Version: "v0.0.0-50a39cf9",
16+
MinVersion: "v0.0.0-50a39cf9",
1717
},
1818
api.ComponentHelm: {
1919
Name: api.ComponentHelm,
@@ -24,8 +24,8 @@ func TestNewToolValidatorUsesPlatformPins(t *testing.T) {
2424
}
2525

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

4646
func TestValidateVersionForkPin(t *testing.T) {
4747
v := NewValidator()
48-
ok, err := v.validateVersion("Client version: v0.0.0-3f1654f0", "0.0.0-3f1654f0")
48+
ok, err := v.validateVersion("Client version: v0.0.0-50a39cf9", "0.0.0-50a39cf9")
4949
if err != nil {
5050
t.Fatalf("validateVersion: %v", err)
5151
}

‎internal/install/tools.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ func parseOCIChartRef(ref string) (repo, version string) {
709709
return "", ""
710710
}
711711
withoutScheme := strings.TrimPrefix(ref, "oci://")
712-
// harbor.noderings.com/nrings/liqo:0.0.0-3f1654f0
712+
// harbor.noderings.com/nrings/liqo:0.0.0-50a39cf9
713713
if i := strings.LastIndex(withoutScheme, ":"); i > 0 {
714714
hostPath := withoutScheme[:i]
715715
ver := withoutScheme[i+1:]

‎internal/install/tools_test.go‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ func TestDeriveToolDownloadURL(t *testing.T) {
4343
{
4444
name: "liqoctl",
4545
tool: "liqoctl",
46-
version: "v0.0.0-3f1654f0",
46+
version: "v0.0.0-50a39cf9",
4747
goos: "linux",
4848
goarch: "amd64",
49-
want: "oci://harbor.noderings.com/nrings/liqoctl-linux-amd64:v0.0.0-3f1654f0",
49+
want: "oci://harbor.noderings.com/nrings/liqoctl-linux-amd64:v0.0.0-50a39cf9",
5050
},
5151
{
5252
name: "arch normalization",
5353
tool: "liqoctl",
54-
version: "v0.0.0-3f1654f0",
54+
version: "v0.0.0-50a39cf9",
5555
goos: "linux",
5656
goarch: "aarch64",
57-
want: "oci://harbor.noderings.com/nrings/liqoctl-linux-arm64:v0.0.0-3f1654f0",
57+
want: "oci://harbor.noderings.com/nrings/liqoctl-linux-arm64:v0.0.0-50a39cf9",
5858
},
5959
{
6060
name: "override wins",
@@ -321,9 +321,9 @@ func TestVersionSatisfiesTable(t *testing.T) {
321321
{"v1.0.0", "", "v1.0.0", true},
322322
{"v0.9.0", "v1.1.1", "v1.0.0", false},
323323
{"", "v1.0.0", "", false},
324-
{"Client version: v0.0.0-3f1654f0", "v0.0.0-3f1654f0", "", true},
325-
{"Client version: v1.1.1", "v0.0.0-3f1654f0", "", false},
326-
{"v1.1.1", "v0.0.0-3f1654f0", "", false},
324+
{"Client version: v0.0.0-50a39cf9", "v0.0.0-50a39cf9", "", true},
325+
{"Client version: v1.1.1", "v0.0.0-50a39cf9", "", false},
326+
{"v1.1.1", "v0.0.0-50a39cf9", "", false},
327327
}
328328
for _, tc := range cases {
329329
if got := VersionSatisfies(tc.current, tc.required, tc.min); got != tc.want {

0 commit comments

Comments
 (0)