mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 13:31:52 +00:00
Merge pull request #121943 from dims/replace-E-with-setenv-for-systemd-run-parameter
Replace -E with --setenv for systemd-run parameter
This commit is contained in:
commit
1f07da7575
@ -250,7 +250,7 @@ func (e *E2EServices) startKubelet(featureGates map[string]bool) (*server, error
|
|||||||
cmdArgs = append(cmdArgs,
|
cmdArgs = append(cmdArgs,
|
||||||
systemdRun,
|
systemdRun,
|
||||||
// Set the environment variable to enable kubelet config drop-in directory.
|
// 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", "Delegate=true",
|
||||||
"-p", logLocation+framework.TestContext.ReportDir+"/kubelet.log",
|
"-p", logLocation+framework.TestContext.ReportDir+"/kubelet.log",
|
||||||
"--unit="+unitName,
|
"--unit="+unitName,
|
||||||
|
Loading…
Reference in New Issue
Block a user