mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-24 15:24:17 +00:00
add HOST_MODE env var
This commit is contained in:
parent
81c6b66999
commit
1dd36dc208
@ -87,6 +87,12 @@ func (provider *Provider) CreatePod(ctx context.Context, podName string, podImag
|
|||||||
SecurityContext: &core.SecurityContext{
|
SecurityContext: &core.SecurityContext{
|
||||||
Privileged: &privileged, // must be privileged to get node level traffic
|
Privileged: &privileged, // must be privileged to get node level traffic
|
||||||
},
|
},
|
||||||
|
Env: []core.EnvVar{
|
||||||
|
{
|
||||||
|
Name: "HOST_MODE",
|
||||||
|
Value: "1",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
TerminationGracePeriodSeconds: new(int64),
|
TerminationGracePeriodSeconds: new(int64),
|
||||||
|
Loading…
Reference in New Issue
Block a user