mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
machine: make each machine the source of truth for its configuration, sync it to cluster store
This commit is contained in:
1 parent
0c42a7df65
commit
23d6b4409a
16 files changed
+1107
-868
No files matched your search
@@ -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