File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 9898 {{- end }}
9999 {{- if (include "agent.legacyEbpfEnforced" .) }}
100100 - name : SYSDIG_AGENT_DRIVER
101- value : legacy_bpf
101+ value : legacy_ebpf
102102 {{- end }}
103103 {{- range $key, $value := .Values.daemonset.kmodule.env }}
104104 - name : {{ $key | quote }}
@@ -189,10 +189,10 @@ spec:
189189 {{- end }}
190190 {{- if (include "agent.universalEbpfEnforced" .) }}
191191 - name : SYSDIG_AGENT_DRIVER
192- value : universal_bpf
192+ value : universal_ebpf
193193 {{- else if (and (include "agent.ebpfEnabled" .) (eq "legacy" .Values.ebpf.kind )) }}
194194 - name : SYSDIG_AGENT_DRIVER
195- value : legacy_bpf
195+ value : legacy_ebpf
196196 {{- end }}
197197 {{- if (.Values.proxy.httpProxy | default .Values.global.proxy.httpProxy) }}
198198 - name : http_proxy
Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ tests:
4040 path : spec.template.spec.initContainers[*].env[?(@.name == "SYSDIG_BPF_PROBE")].value
4141 - equal :
4242 path : spec.template.spec.initContainers[*].env[?(@.name == "SYSDIG_AGENT_DRIVER")].value
43- value : legacy_bpf
43+ value : legacy_ebpf
4444 - isEmpty :
4545 path : spec.template.spec.containers[*].env[?(@.name == "SYSDIG_BPF_PROBE")].value
4646 - equal :
4747 path : spec.template.spec.containers[*].env[?(@.name == "SYSDIG_AGENT_DRIVER")].value
48- value : legacy_bpf
48+ value : legacy_ebpf
4949
5050 - it : Ensure that when the eBPF is enabled and we specify to use the "universal" driver we create the sysdig container without the SYSDIG_BPF_PROBE and with the SYSDIG_AGENT_DRIVER environment variables
5151 set :
5757 path : spec.template.spec.containers[*].env[?(@.name == "SYSDIG_BPF_PROBE")]
5858 - equal :
5959 path : spec.template.spec.containers[*].env[?(@.name == "SYSDIG_AGENT_DRIVER")].value
60- value : universal_bpf
60+ value : universal_ebpf
6161
6262 - it : Ensure that when the eBPF is enabled and we specify to use the "universal" driver we don't create the init container
6363 set :
You can’t perform that action at this time.
0 commit comments