1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-01 15:06:23 +00:00

Configure MCS labels if selinux is enabled

This commit is contained in:
Sebastiaan van Steenis
2019-08-14 12:53:32 +02:00
committed by Alena Prokharchyk
parent 5d8d538ce0
commit ac16bd8b33
10 changed files with 50 additions and 23 deletions

View File

@@ -9,7 +9,7 @@ import (
)
func runKubeproxy(ctx context.Context, host *hosts.Host, df hosts.DialerFactory, prsMap map[string]v3.PrivateRegistry, kubeProxyProcess v3.Process, alpineImage string) error {
imageCfg, hostCfg, healthCheckURL := GetProcessConfig(kubeProxyProcess)
imageCfg, hostCfg, healthCheckURL := GetProcessConfig(kubeProxyProcess, host)
if err := docker.DoRunContainer(ctx, host.DClient, imageCfg, hostCfg, KubeproxyContainerName, host.Address, WorkerRole, prsMap); err != nil {
return err
}