mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Mark container hosts file for SELinux relabel
This commit is contained in:
parent
42ff2b3890
commit
ca9a455f2c
@ -137,6 +137,7 @@ func makeHostsMount(podDir, podIP, hostName, hostDomainName string) (*kubecontai
|
||||
ContainerPath: etcHostsPath,
|
||||
HostPath: hostsFilePath,
|
||||
ReadOnly: false,
|
||||
SELinuxRelabel: true,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user