diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-02-17 16:21:07 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-02-17 16:21:07 -0500 |
commit | 666d8cf1deeba4113a9b03e0bc208b1a14122733 (patch) | |
tree | 36668d17c27e5a6b967fcfb5180e687cd9c297b8 /libpod/pod.go | |
parent | 640b11f0028057ca2090d61c4e460c1afadb226c (diff) | |
download | podman-666d8cf1deeba4113a9b03e0bc208b1a14122733.tar.gz podman-666d8cf1deeba4113a9b03e0bc208b1a14122733.tar.bz2 podman-666d8cf1deeba4113a9b03e0bc208b1a14122733.zip |
Add ability for pods to use the host network
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/pod.go')
-rw-r--r-- | libpod/pod.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/pod.go b/libpod/pod.go index 4f85caf08..1b4c06c9d 100644 --- a/libpod/pod.go +++ b/libpod/pod.go @@ -99,6 +99,7 @@ type PodContainerInfo struct { // InfraContainerConfig is the configuration for the pod's infra container type InfraContainerConfig struct { HasInfraContainer bool `json:"makeInfraContainer"` + HostNetwork bool `json:"infraHostNetwork,omitempty"` PortBindings []ocicni.PortMapping `json:"infraPortBindings"` StaticIP net.IP `json:"staticIP,omitempty"` StaticMAC net.HardwareAddr `json:"staticMAC,omitempty"` |