mirror of
https://github.com/kairos-io/kairos-sdk.git
synced 2025-09-19 17:52:20 +00:00
Convert env to a map of interfaces (#101)
Signed-off-by: Mauro Morales <contact@mauromorales.com>
This commit is contained in:
@@ -62,7 +62,7 @@ func (P2PNetworkExtended) JSONSchemaOneOf() []interface{} {
|
|||||||
|
|
||||||
// VPN represents the vpn block in the Kairos configuration.
|
// VPN represents the vpn block in the Kairos configuration.
|
||||||
type VPN struct {
|
type VPN struct {
|
||||||
Create bool `json:"vpn,omitempty" default:"true"`
|
Create bool `json:"vpn,omitempty" default:"true"`
|
||||||
Use bool `json:"use,omitempty" default:"true"`
|
Use bool `json:"use,omitempty" default:"true"`
|
||||||
Envs interface{} `json:"env,omitempty"`
|
Envs map[string]interface{} `json:"env,omitempty"`
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user