mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-05 04:18:50 +00:00
Feature update bpf override (#1551)
* 🔧 Set worker BPF override from config * 🔧 Disable `front` BPF override if capture is not `af_packet` * feature condition change Extend the feature visibility condition from explicitely using af_packet to not explicitly using ebpf, and therefore supporting all methods other than ebpf * reversing the logic fixing the previous comment logic as it was reversed. --------- Co-authored-by: tiptophelmet <serhii.ponomarenko.jobs@gmail.com>
This commit is contained in:
parent
88ea7120c4
commit
df1915cce6
@ -44,6 +44,8 @@ spec:
|
||||
value: '{{ .Values.tap.scriptingDisabled }}'
|
||||
- name: REACT_APP_TARGETED_PODS_UPDATE_DISABLED
|
||||
value: '{{ .Values.tap.targetedPodsUpdateDisabled }}'
|
||||
- name: REACT_APP_BPF_OVERRIDE_DISABLED
|
||||
value: '{{ eq .Values.tap.packetCapture "ebpf" | ternary "true" "false" }}'
|
||||
- name: REACT_APP_RECORDING_DISABLED
|
||||
value: '{{ .Values.tap.recordingDisabled }}'
|
||||
- name: 'REACT_APP_CLOUD_LICENSE_ENABLED'
|
||||
|
@ -54,10 +54,6 @@ spec:
|
||||
- -packet-capture
|
||||
- '{{ .Values.tap.packetCapture }}'
|
||||
- -unixsocket
|
||||
{{- if .Values.tap.bpfOverride }}
|
||||
- -bpf
|
||||
- '{{ .Values.tap.bpfOverride }}'
|
||||
{{- end }}
|
||||
{{- if .Values.tap.serviceMesh }}
|
||||
- -servicemesh
|
||||
{{- end }}
|
||||
|
@ -9,6 +9,7 @@ metadata:
|
||||
data:
|
||||
POD_REGEX: '{{ .Values.tap.regex }}'
|
||||
NAMESPACES: '{{ gt (len .Values.tap.namespaces) 0 | ternary (join "," .Values.tap.namespaces) "" }}'
|
||||
BPF_OVERRIDE: '{{ .Values.tap.bpfOverride }}'
|
||||
SCRIPTING_SCRIPTS: '{}'
|
||||
INGRESS_ENABLED: '{{ .Values.tap.ingress.enabled }}'
|
||||
INGRESS_HOST: '{{ .Values.tap.ingress.host }}'
|
||||
|
Loading…
Reference in New Issue
Block a user