Skip to content

Add nr cluster liqo upgrade - #16

Merged
sinadarbouy merged 3 commits into
mainfrom
feat/cluster-liqo-upgrade
Nov 29, 2026
Merged

sinadarbouy merged 3 commits into
mainfrom
feat/cluster-liqo-upgrade

Conversation

@sinadarbouy

Copy link
Copy Markdown
Contributor

Summary

  • Add nr cluster liqo upgrade so a provider can move an existing Liqo release to the pinned Harbor chart (0.0.0-6870864e / v0.0.0-6870864e) without uninstalling, changing the cluster id, or entering a hypervisor token.
  • The command applies the chart CRDs, then runs Helm with --reset-then-reuse-values. --reuse-values alone fails on chart keys the old release does not have.
  • Document it next to nr cluster operator upgrade.

Test plan

  • go test ./internal/install/ ./internal/cli/
  • On local Multipass nr-provider (already on v0.0.0-6870864e): nr cluster liqo upgrade exited 0, Helm revision moved to liqo-0.0.0-6870864e, cluster id stayed 848c9bca-8cad-4c39-914d-f1780afe7c53, and the mothership peer stayed Connected
  • Publish a CLI release before asking a provider to run it (v1.0.20 does not include this command)
  • nr cluster operator upgrade is still a separate command and still needs the 0.1.13 chart and image in Harbor

Providers need a command that moves an existing Liqo release to the pinned chart without changing the cluster id or asking for a hypervisor token.
The printed Helm command was the OCI ref with --version, while the upgrade runs against the pulled chart. CRD path errors now keep the stat failure, and tests cover a missing release.
@sinadarbouy
sinadarbouy merged commit feb157b into main Nov 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant