diff --git a/schema/p2p_schema.go b/schema/p2p_schema.go index 20e13f7..c0fdb8b 100644 --- a/schema/p2p_schema.go +++ b/schema/p2p_schema.go @@ -62,7 +62,7 @@ func (P2PNetworkExtended) JSONSchemaOneOf() []interface{} { // VPN represents the vpn block in the Kairos configuration. type VPN struct { - Create bool `json:"vpn,omitempty" default:"true"` - Use bool `json:"use,omitempty" default:"true"` - Envs interface{} `json:"env,omitempty"` + Create bool `json:"vpn,omitempty" default:"true"` + Use bool `json:"use,omitempty" default:"true"` + Envs map[string]interface{} `json:"env,omitempty"` }