add HOST_MODE env var

This commit is contained in:
Roee Gadot 2021-04-29 08:22:42 +03:00
parent 81c6b66999
commit 1dd36dc208

View File

@ -87,6 +87,12 @@ func (provider *Provider) CreatePod(ctx context.Context, podName string, podImag
SecurityContext: &core.SecurityContext{
Privileged: &privileged, // must be privileged to get node level traffic
},
Env: []core.EnvVar{
{
Name: "HOST_MODE",
Value: "1",
},
},
},
},
TerminationGracePeriodSeconds: new(int64),