diff --git a/internal/infrastructure/controlplanestore/container_settings.go b/internal/infrastructure/controlplanestore/container_settings.go index e82c5215d..752b534df 100644 --- a/internal/infrastructure/controlplanestore/container_settings.go +++ b/internal/infrastructure/controlplanestore/container_settings.go @@ -21,6 +21,7 @@ type containerRuntimePolicies struct { Network string `json:"network"` Runtime string `json:"runtime"` OpenShell config.OpenShellConfig `json:"openshell"` + EgressHosts []string `json:"egress_hosts,omitempty"` } // agentProfile is one named execution environment as the document writes it. @@ -85,7 +86,7 @@ func (p containerRuntimePolicies) settings() config.ContainerConfig { return config.ContainerConfig{ Image: p.Image, MaxConcurrency: p.MaxConcurrency, MaxUptime: p.MaxUptime, VolumeTTL: p.VolumeTTL, PullPolicy: p.PullPolicy, Network: p.Network, - Runtime: p.Runtime, OpenShell: p.OpenShell, + Runtime: p.Runtime, OpenShell: p.OpenShell, EgressHosts: p.EgressHosts, } } @@ -94,7 +95,7 @@ func seedContainerPolicies(cfg config.Config) any { return containerRuntimePolicies{ Image: containers.Image, MaxConcurrency: containers.MaxConcurrency, MaxUptime: containers.MaxUptime, VolumeTTL: containers.VolumeTTL, PullPolicy: containers.PullPolicy, Network: containers.Network, - Runtime: containers.Runtime, OpenShell: containers.OpenShell, + Runtime: containers.Runtime, OpenShell: containers.OpenShell, EgressHosts: containers.EgressHosts, } }