diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index 3dc93cab8..91dac0771 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -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' diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index 704a486c0..87fb5b235 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -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 }} diff --git a/helm-chart/templates/12-config-map.yaml b/helm-chart/templates/12-config-map.yaml index 5ccef9360..e9d0e6fe8 100644 --- a/helm-chart/templates/12-config-map.yaml +++ b/helm-chart/templates/12-config-map.yaml @@ -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 }}'