Do more Helm templating

This commit is contained in:
M. Mert Yildiran
2023-04-12 01:33:41 +03:00
parent 3ebf816a68
commit d2b9bddf78
6 changed files with 26 additions and 5 deletions

View File

@@ -706,7 +706,15 @@ func (provider *Provider) BuildWorkerDaemonSet(
}
// Command
command := []string{"./worker", "-i", "any", "-port", "8897"}
command := []string{
"./worker",
"-i",
"any",
"-port",
"8897",
"-packet-capture",
config.Config.Tap.PacketCapture,
}
if debug {
command = append(command, "-debug")
}