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:
committed by
Alena Prokharchyk
parent
5d8d538ce0
commit
ac16bd8b33
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
func runKubeAPI(ctx context.Context, host *hosts.Host, df hosts.DialerFactory, prsMap map[string]v3.PrivateRegistry, kubeAPIProcess v3.Process, alpineImage string, certMap map[string]pki.CertificatePKI) error {
|
||||
|
||||
imageCfg, hostCfg, healthCheckURL := GetProcessConfig(kubeAPIProcess)
|
||||
imageCfg, hostCfg, healthCheckURL := GetProcessConfig(kubeAPIProcess, host)
|
||||
if err := docker.DoRunContainer(ctx, host.DClient, imageCfg, hostCfg, KubeAPIContainerName, host.Address, ControlRole, prsMap); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user