mirror of
https://github.com/rancher/rke.git
synced 2025-09-12 04:20:26 +00:00
Configure MCS labels if selinux is enabled
This commit is contained in:
committed by
Alena Prokharchyk
parent
5d8d538ce0
commit
ac16bd8b33
@@ -14,7 +14,7 @@ const (
|
||||
)
|
||||
|
||||
func runNginxProxy(ctx context.Context, host *hosts.Host, prsMap map[string]v3.PrivateRegistry, proxyProcess v3.Process, alpineImage string) error {
|
||||
imageCfg, hostCfg, _ := GetProcessConfig(proxyProcess)
|
||||
imageCfg, hostCfg, _ := GetProcessConfig(proxyProcess, host)
|
||||
if err := docker.DoRunContainer(ctx, host.DClient, imageCfg, hostCfg, NginxProxyContainerName, host.Address, WorkerRole, prsMap); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user