mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 04:27:54 +00:00
Replace -E with --setenv for systemd-run parameter
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
c28c200918
commit
64f8c6939f
@ -250,7 +250,7 @@ func (e *E2EServices) startKubelet(featureGates map[string]bool) (*server, error
|
||||
cmdArgs = append(cmdArgs,
|
||||
systemdRun,
|
||||
// Set the environment variable to enable kubelet config drop-in directory.
|
||||
"-E", "KUBELET_CONFIG_DROPIN_DIR_ALPHA=yes",
|
||||
"--setenv", "KUBELET_CONFIG_DROPIN_DIR_ALPHA=yes",
|
||||
"-p", "Delegate=true",
|
||||
"-p", logLocation+framework.TestContext.ReportDir+"/kubelet.log",
|
||||
"--unit="+unitName,
|
||||
|
Loading…
Reference in New Issue
Block a user