Repository navigation
feat(netbird-ee): migrate from the netbird chart - #68
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
…etbird through e2e/shared
|
Folded into #66: its commits were fast-forwarded onto feat/netbird-ee, which GitHub shows as merged here. |
Stacked on #66.
An existing netbird release becomes a netbird-ee release with one
helm upgradeof the same release. This PR adds the guide and an e2e job that runs the migration.Why it works in place
netbird) and the release name, so they don't change. Helm patches everything in place, and the management volume and credentials Secrets carry over.Guide
charts/netbird-ee/docs/migration.mdcovers:helm get values, removing theimageblocks, and nesting the rest undernetbird:;helm templatediff;Starting CloudServerlog line.e2e
netbird-ee now has its own package,
e2e/netbird-ee, with its ownTestMainand Kind cluster (netbird-ee-chart-e2e). TheNB_E2E_CHARTswitch is gone.e2e/sharedholds what the two packages share: the checks (RequireConnected, …), the lifecycle steps as methods onLifecycle, andMain. These used to be_test.gofiles ine2e/netbird, which another package can't import.e2e/netbirdis back to the community chart only.e2e/netbird-eeruns the shared steps plus its enterprise checks.framework/netbird.Bootstraptakes aConfig(chart, chart installed first, cluster name) instead of reading env vars. Peer container names follow the cluster name, so the two packages can run side by side.task chart:e2e CHART=netbird-eeruns the EE package. CI'schartmatrix value now picks the package.e2e/netbird-ee,NB_E2E_FROM_CHART=netbirdinstalls the netbird chart at netbird-ee's backend version, connects peers, and upgrades the release to netbird-ee. It checks that peers stay listed and connected and that the credential Secrets are unchanged, then runs the enterprise checks, the relay and the restart steps on the migrated release.