mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +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,
|
||||
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