mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
feat: allow to customise WireGuard listen port with --wg-port for machine init/add (#366)
This commit is contained in:
@@ -61,6 +61,9 @@ message InitClusterRequest {
|
||||
|
||||
// Optional WireGuard endpoints other machines will use to connect to this machine instead of auto-discovered ones.
|
||||
repeated IPPort wireguard_endpoints = 5;
|
||||
|
||||
// WireGuard listen port for this machine. Uses the default port (51820) if 0 or not set.
|
||||
int32 wireguard_port = 6;
|
||||
}
|
||||
|
||||
message InitClusterResponse {
|
||||
@@ -72,6 +75,8 @@ message JoinClusterRequest {
|
||||
repeated MachineInfo other_machines = 3;
|
||||
// Minimum store database version the new machine should sync to before starting cluster operations.
|
||||
int64 min_store_db_version = 4;
|
||||
// WireGuard listen port for this machine. Uses the default port (51820) if 0 or not set.
|
||||
int32 wireguard_port = 5;
|
||||
}
|
||||
|
||||
message InspectMachineResponse {
|
||||
|
||||
Reference in New Issue
Block a user