mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
machine: make each machine the source of truth for its configuration, sync it to cluster store
This commit is contained in:
@@ -22,7 +22,9 @@ type Config struct {
|
||||
MTU int `json:",omitempty"`
|
||||
PrivateKey secret.Secret
|
||||
PublicKey secret.Secret
|
||||
Peers []PeerConfig `json:",omitempty"`
|
||||
// Endpoints are this machine's own WireGuard endpoints advertised to other machines.
|
||||
Endpoints []netip.AddrPort `json:",omitempty"`
|
||||
Peers []PeerConfig `json:",omitempty"`
|
||||
}
|
||||
|
||||
type PeerConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user