mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-05 20:38: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 }}'
|
value: '{{ .Values.tap.scriptingDisabled }}'
|
||||||
- name: REACT_APP_TARGETED_PODS_UPDATE_DISABLED
|
- name: REACT_APP_TARGETED_PODS_UPDATE_DISABLED
|
||||||
value: '{{ .Values.tap.targetedPodsUpdateDisabled }}'
|
value: '{{ .Values.tap.targetedPodsUpdateDisabled }}'
|
||||||
|
- name: REACT_APP_BPF_OVERRIDE_DISABLED
|
||||||
|
value: '{{ eq .Values.tap.packetCapture "ebpf" | ternary "true" "false" }}'
|
||||||
- name: REACT_APP_RECORDING_DISABLED
|
- name: REACT_APP_RECORDING_DISABLED
|
||||||
value: '{{ .Values.tap.recordingDisabled }}'
|
value: '{{ .Values.tap.recordingDisabled }}'
|
||||||
- name: 'REACT_APP_CLOUD_LICENSE_ENABLED'
|
- name: 'REACT_APP_CLOUD_LICENSE_ENABLED'
|
||||||
|
@ -54,10 +54,6 @@ spec:
|
|||||||
- -packet-capture
|
- -packet-capture
|
||||||
- '{{ .Values.tap.packetCapture }}'
|
- '{{ .Values.tap.packetCapture }}'
|
||||||
- -unixsocket
|
- -unixsocket
|
||||||
{{- if .Values.tap.bpfOverride }}
|
|
||||||
- -bpf
|
|
||||||
- '{{ .Values.tap.bpfOverride }}'
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.tap.serviceMesh }}
|
{{- if .Values.tap.serviceMesh }}
|
||||||
- -servicemesh
|
- -servicemesh
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -9,6 +9,7 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
POD_REGEX: '{{ .Values.tap.regex }}'
|
POD_REGEX: '{{ .Values.tap.regex }}'
|
||||||
NAMESPACES: '{{ gt (len .Values.tap.namespaces) 0 | ternary (join "," .Values.tap.namespaces) "" }}'
|
NAMESPACES: '{{ gt (len .Values.tap.namespaces) 0 | ternary (join "," .Values.tap.namespaces) "" }}'
|
||||||
|
BPF_OVERRIDE: '{{ .Values.tap.bpfOverride }}'
|
||||||
SCRIPTING_SCRIPTS: '{}'
|
SCRIPTING_SCRIPTS: '{}'
|
||||||
INGRESS_ENABLED: '{{ .Values.tap.ingress.enabled }}'
|
INGRESS_ENABLED: '{{ .Values.tap.ingress.enabled }}'
|
||||||
INGRESS_HOST: '{{ .Values.tap.ingress.host }}'
|
INGRESS_HOST: '{{ .Values.tap.ingress.host }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user