mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-28 09:10:09 +00:00
Add Bpf
field to TapConfig
struct
This commit is contained in:
parent
067875d544
commit
f43a61f891
@ -163,6 +163,7 @@ type TapConfig struct {
|
|||||||
Proxy ProxyConfig `yaml:"proxy" json:"proxy"`
|
Proxy ProxyConfig `yaml:"proxy" json:"proxy"`
|
||||||
PodRegexStr string `yaml:"regex" json:"regex" default:".*"`
|
PodRegexStr string `yaml:"regex" json:"regex" default:".*"`
|
||||||
Namespaces []string `yaml:"namespaces" json:"namespaces" default:"[]"`
|
Namespaces []string `yaml:"namespaces" json:"namespaces" default:"[]"`
|
||||||
|
Bpf string `yaml:"bpf" json:"bpf" default:""`
|
||||||
Release ReleaseConfig `yaml:"release" json:"release"`
|
Release ReleaseConfig `yaml:"release" json:"release"`
|
||||||
PersistentStorage bool `yaml:"persistentStorage" json:"persistentStorage" default:"false"`
|
PersistentStorage bool `yaml:"persistentStorage" json:"persistentStorage" default:"false"`
|
||||||
PersistentStorageStatic bool `yaml:"persistentStorageStatic" json:"persistentStorageStatic" default:"false"`
|
PersistentStorageStatic bool `yaml:"persistentStorageStatic" json:"persistentStorageStatic" default:"false"`
|
||||||
|
@ -54,6 +54,10 @@ spec:
|
|||||||
- -packet-capture
|
- -packet-capture
|
||||||
- '{{ .Values.tap.packetCapture }}'
|
- '{{ .Values.tap.packetCapture }}'
|
||||||
- -unixsocket
|
- -unixsocket
|
||||||
|
{{- if .Values.tap.bpf }}
|
||||||
|
- -bpf
|
||||||
|
- '{{ .Values.tap.bpf }}'
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.tap.serviceMesh }}
|
{{- if .Values.tap.serviceMesh }}
|
||||||
- -servicemesh
|
- -servicemesh
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -18,6 +18,7 @@ tap:
|
|||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
regex: .*
|
regex: .*
|
||||||
namespaces: []
|
namespaces: []
|
||||||
|
bpf: ""
|
||||||
release:
|
release:
|
||||||
repo: https://helm.kubeshark.co
|
repo: https://helm.kubeshark.co
|
||||||
name: kubeshark
|
name: kubeshark
|
||||||
|
Loading…
Reference in New Issue
Block a user