generate user key for new cluster and add it to peers on bootstrap machine

This commit is contained in:
Pavel Sviderski committed 2024-08-29 15:38:13 +10:00
1 parent afe9c13283
commit eed2c8809c
7 files changed
+104 -22

No files matched your search

+7 -4
View File
@@ -1,8 +1,11 @@
package config
import "uncloud/internal/secret"
type MachineConnection struct {
User string `toml:"user,omitempty"`
Host string `toml:"host"`
Port int `toml:"port"`
SSHKey string `toml:"ssh_key,omitempty"`
User string `toml:"user,omitempty"`
Host string `toml:"host"`
Port int `toml:"port"`
SSHKey string `toml:"ssh_key,omitempty"`
PublicKey secret.Secret `toml:"public_key,omitempty"`
}