Skip to content

Commit 1f07da7

Browse files
authored
Merge pull request kubernetes#121943 from dims/replace-E-with-setenv-for-systemd-run-parameter
Replace -E with --setenv for systemd-run parameter
2 parents c28c200 + 64f8c69 commit 1f07da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e_node/services/kubelet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ func (e *E2EServices) startKubelet(featureGates map[string]bool) (*server, error
250250
cmdArgs = append(cmdArgs,
251251
systemdRun,
252252
// Set the environment variable to enable kubelet config drop-in directory.
253-
"-E", "KUBELET_CONFIG_DROPIN_DIR_ALPHA=yes",
253+
"--setenv", "KUBELET_CONFIG_DROPIN_DIR_ALPHA=yes",
254254
"-p", "Delegate=true",
255255
"-p", logLocation+framework.TestContext.ReportDir+"/kubelet.log",
256256
"--unit="+unitName,

0 commit comments

Comments
 (0)