Mark container hosts file for SELinux relabel

This commit is contained in:
Paul Morie 2016-10-24 18:42:19 -04:00
parent 42ff2b3890
commit ca9a455f2c

View File

@ -137,6 +137,7 @@ func makeHostsMount(podDir, podIP, hostName, hostDomainName string) (*kubecontai
ContainerPath: etcHostsPath,
HostPath: hostsFilePath,
ReadOnly: false,
SELinuxRelabel: true,
}, nil
}