1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-02 07:24:20 +00:00

Merge pull request #268 from galal-hussein/atomic_centos

Add z option to volume binds
This commit is contained in:
Alena Prokharchyk
2018-02-06 16:22:05 -08:00
committed by GitHub
14 changed files with 40 additions and 21 deletions

View File

@@ -51,7 +51,7 @@ func buildKubeControllerConfig(kubeControllerService v3.KubeControllerService, a
SidekickContainerName,
},
Binds: []string{
"/etc/kubernetes:/etc/kubernetes",
"/etc/kubernetes:/etc/kubernetes:z",
},
NetworkMode: "host",
RestartPolicy: container.RestartPolicy{Name: "always"},