e2e: do not set a user for raw_exec tasks (#17901)

Cannot set a user for raw_exec tasks, because doing so does not work
with the 0700 root owned client data directory that we setup in the e2e
cluster in accordance with the Nomad hardening guide.
This commit is contained in:
Seth Hoenig
2023-07-11 16:00:15 -05:00
committed by GitHub
parent a4d0dcdc39
commit fd50f2bcb8
3 changed files with 0 additions and 3 deletions

View File

@@ -23,7 +23,6 @@ job "env" {
}
task "task" {
user = "nobody"
driver = "raw_exec"
config {

View File

@@ -28,7 +28,6 @@ job "sleep" {
}
task "task" {
user = "nobody"
driver = "raw_exec"
config {

View File

@@ -35,7 +35,6 @@ job "checks_task_restart" {
task "python" {
driver = "raw_exec"
user = "nobody"
config {
command = "python3"
args = ["-m", "http.server", "${NOMAD_PORT_http}", "--directory", "/tmp"]