mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-10-07 08:08:32 -04:00
Write WireGuard config file on init
This commit is contained in:
parent
5cf8f83ed8
commit
66fe34ee32
8 changed files with 268 additions and 25 deletions
|
@ -49,6 +49,7 @@ type Config struct {
|
|||
StatePath *string `json:"statepath,omitempty"`
|
||||
AdminConfPath *string `json:"adminconfpath,omitempty"`
|
||||
MasterSecretPath *string `json:"mastersecretpath,omitempty"`
|
||||
WGQuickConfigPath *string `json:"wgquickconfigpath,omitempty"`
|
||||
CoordinatorPort *string `json:"coordinatorport,omitempty"`
|
||||
AutoscalingNodeGroupsMin *int `json:"autoscalingnodegroupsmin,omitempty"`
|
||||
AutoscalingNodeGroupsMax *int `json:"autoscalingnodegroupsmax,omitempty"`
|
||||
|
@ -61,6 +62,7 @@ func Default() *Config {
|
|||
StatePath: proto.String("constellation-state.json"),
|
||||
AdminConfPath: proto.String("constellation-admin.conf"),
|
||||
MasterSecretPath: proto.String("constellation-mastersecret.base64"),
|
||||
WGQuickConfigPath: proto.String("wg0.conf"),
|
||||
CoordinatorPort: proto.String(strconv.Itoa(coordinatorPort)),
|
||||
AutoscalingNodeGroupsMin: intPtr(1),
|
||||
AutoscalingNodeGroupsMax: intPtr(10),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue