Skip to content

Add support for self-hosted Netbird instances and update README #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 28, 2025

Conversation

HRGCompany
Copy link
Contributor

@HRGCompany HRGCompany commented Apr 18, 2025

  • Updated logic to determine instance type based on netbird_mgmt_url.
  • Updated README with documentation for netbird_mgmt_url.

- Implemented logic to handle `netbird_deployment_mode` .
- Added validation to ensure `netbird_management_url` is defined and non-empty when using self-hosted mode.
- Updated README with detailed documentation for `netbird_deployment_mode` and `netbird_management_url`.
…etbird_mgmt_url

- Removed `netbird_deployment_mode` variable.
- Updated logic to determine instance type based on `netbird_mgmt_url`.
@HRGCompany
Copy link
Contributor Author

@spam-n-eggs : Can you review this change? It adds a simple change to allow the use of self-hosted instances.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for self-hosted Netbird instances by updating the instance command logic and documentation.

  • Updated the command to check the Netbird version and start Netbird with a management URL parameter.
  • Introduced a new default variable for netbird_mgmt_url and updated the README to document this option.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
roles/netbird/tasks/main.yml Updated shell commands to use the new version and include the management URL option, and adjusted the condition when to start Netbird.
roles/netbird/defaults/main.yml Introduced the netbird_mgmt_url variable with a default to the cloud-hosted instance.
roles/netbird/README.md Added documentation for the new netbird_mgmt_url variable.

@spam-n-eggs spam-n-eggs merged commit fb8f7ce into dominion-solutions:main Apr 28, 2025
2 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.

2 participants