sandbox: Track and store the pod resolv.conf path

When we get a pod with DNS settings, we need to build
a resolv.conf file and mount it in all pod containers.
In order to do that, we have to track the built resolv.conf
file and store/load it.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2017-03-24 15:28:14 +01:00
parent 673b6e4c51
commit 72129ee3fb
3 changed files with 6 additions and 2 deletions

View file

@ -140,6 +140,7 @@ type sandbox struct {
shmPath string
cgroupParent string
privileged bool
resolvPath string
}
const (