@@ -250,16 +250,6 @@ type ContainerNetworkConfig struct {
250250 // network namespace for the container.
251251 // This cannot be set if NetNsCtr is also set.
252252 CreateNetNS bool `json:"createNetNS"`
253- // StaticIP is a static IP to request for the container.
254- // This cannot be set unless CreateNetNS is set.
255- // If not set, the container will be dynamically assigned an IP by CNI.
256- // Deprecated: Do no use this anymore, this is only for DB backwards compat.
257- StaticIP net.IP `json:"staticIP,omitempty"`
258- // StaticMAC is a static MAC to request for the container.
259- // This cannot be set unless CreateNetNS is set.
260- // If not set, the container will be dynamically assigned a MAC by CNI.
261- // Deprecated: Do no use this anymore, this is only for DB backwards compat.
262- StaticMAC types.HardwareAddr `json:"staticMAC,omitempty"`
263253 // PortMappings are the ports forwarded to the container's network
264254 // namespace
265255 // These are not used unless CreateNetNS is true
@@ -314,6 +304,7 @@ type ContainerNetworkConfig struct {
314304 // Please note that these can be altered at runtime. The actual list is
315305 // stored in the DB and should be retrieved from there; this is only the
316306 // set of networks the container was *created* with.
307+ //
317308 // Deprecated: Do no use this anymore, this is only for DB backwards compat.
318309 // Also note that we need to keep the old json tag to decode from DB correctly
319310 NetworksDeprecated []string `json:"networks,omitempty"`
0 commit comments