Repository navigation
Add nr cluster liqo upgrade - #16
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nr cluster liqo upgradeso 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.--reset-then-reuse-values.--reuse-valuesalone fails on chart keys the old release does not have.nr cluster operator upgrade.Test plan
go test ./internal/install/ ./internal/cli/nr-provider(already onv0.0.0-6870864e):nr cluster liqo upgradeexited 0, Helm revision moved toliqo-0.0.0-6870864e, cluster id stayed848c9bca-8cad-4c39-914d-f1780afe7c53, and the mothership peer stayed Connectedv1.0.20does not include this command)nr cluster operator upgradeis still a separate command and still needs the0.1.13chart and image in Harbor