mirror of
https://github.com/rancher/rke.git
synced 2025-08-31 14:36:32 +00:00
Make cni directories rw
This commit is contained in:
committed by
Darren Shepherd
parent
1c673cde37
commit
4508d11401
@@ -318,8 +318,8 @@ func (c *Cluster) BuildKubeletProcess(host *hosts.Host, prefixPath string) v3.Pr
|
||||
}
|
||||
Binds := []string{
|
||||
fmt.Sprintf("%s:/etc/kubernetes:z", path.Join(prefixPath, "/etc/kubernetes")),
|
||||
"/etc/cni:/etc/cni:ro,z",
|
||||
"/opt/cni:/opt/cni:ro,z",
|
||||
"/etc/cni:/etc/cni:rw,z",
|
||||
"/opt/cni:/opt/cni:rw,z",
|
||||
fmt.Sprintf("%s:/var/lib/cni:z", path.Join(prefixPath, "/var/lib/cni")),
|
||||
"/etc/resolv.conf:/etc/resolv.conf",
|
||||
"/sys:/sys:rprivate",
|
||||
|
Reference in New Issue
Block a user