File tree Expand file tree Collapse file tree 5 files changed +40
-3
lines changed Expand file tree Collapse file tree 5 files changed +40
-3
lines changed Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ sources:
3030- https://app.sysdigcloud.com/#/settings/user
3131- https://github.com/draios/sysdig
3232type : application
33- version : 1.18.2
33+ version : 1.18.3
Original file line number Diff line number Diff line change @@ -282,6 +282,8 @@ spec:
282282 readOnly : true
283283 - mountPath : /host/var/lib
284284 name : varlib-vol
285+ - mountPath : /host/var/data
286+ name : vardata-vol
285287 - mountPath : /host/var/run
286288 name : varrun-vol
287289 {{- if (include "agent.ebpfEnabled" .) }}
@@ -300,6 +302,8 @@ spec:
300302 readOnly : true
301303 - mountPath : /host/var/lib
302304 name : varlib-vol
305+ - mountPath : /host/var/data
306+ name : vardata-vol
303307 - mountPath : /host/var/run
304308 name : varrun-vol
305309 {{- if (include "agent.ebpfEnabled" .) }}
@@ -425,6 +429,9 @@ spec:
425429 - name : varlib-vol
426430 hostPath :
427431 path : /var/lib
432+ - name : vardata-vol
433+ hostPath :
434+ path : /var/data
428435 - name : varrun-vol
429436 hostPath :
430437 path : /var/run
@@ -460,6 +467,9 @@ spec:
460467 - name : varlib-vol
461468 hostPath :
462469 path : /var/lib
470+ - name : vardata-vol
471+ hostPath :
472+ path : /var/data
463473 {{- if (include "agent.ebpfEnabled" .) }}
464474 - name : bpf-probes
465475 emptyDir : {}
Original file line number Diff line number Diff line change @@ -160,6 +160,8 @@ spec:
160160 readOnly : true
161161 - mountPath : /host/var/lib
162162 name : varlib-vol
163+ - mountPath : /host/var/data
164+ name : vardata-vol
163165 - mountPath : /host/run
164166 name : run-vol
165167 - mountPath : /host/var/run
@@ -180,6 +182,8 @@ spec:
180182 readOnly : true
181183 - mountPath : /host/var/lib
182184 name : varlib-vol
185+ - mountPath : /host/var/data
186+ name : vardata-vol
183187 - mountPath : /host/run
184188 name : run-vol
185189 - mountPath : /host/var/run
@@ -308,6 +312,9 @@ spec:
308312 - name : varlib-vol
309313 hostPath :
310314 path : /var/lib
315+ - name : vardata-vol
316+ hostPath :
317+ path : /var/data
311318 - name : run-vol
312319 hostPath :
313320 path : /run
@@ -331,6 +338,9 @@ spec:
331338 - name : varlib-vol
332339 hostPath :
333340 path : /var/lib
341+ - name : vardata-vol
342+ hostPath :
343+ path : /var/data
334344 - name : run-vol
335345 hostPath :
336346 path : /run
Original file line number Diff line number Diff line change @@ -14,6 +14,23 @@ tests:
1414 templates :
1515 - daemonset.yaml
1616
17+ - it : Ensure /var/data host volume is mounted as /host/var/data in container
18+ set :
19+ sysdig :
20+ accessKey : AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE
21+ delegatedAgentDeployment :
22+ enabled : true
23+ asserts :
24+ - equal :
25+ path : spec.template.spec.containers[*].volumeMounts[?(@.name == "vardata-vol")].mountPath
26+ value : /host/var/data
27+ - equal :
28+ path : spec.template.spec.volumes[?(@.name == "vardata-vol")].hostPath.path
29+ value : /var/data
30+ templates :
31+ - daemonset.yaml
32+ - deployment.yaml
33+
1734 - it : Ensure /var/lib host volume is mounted as /host/var/lib in container
1835 asserts :
1936 - equal :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : sysdig-deploy
33description : A chart with various Sysdig components for Kubernetes
44type : application
5- version : 1.34.1
5+ version : 1.34.2
66maintainers :
77 - name : AlbertoBarba
88@@ -26,7 +26,7 @@ dependencies:
2626 - name : agent
2727 # repository: https://charts.sysdig.com
2828 repository : file://../agent
29- version : ~1.18.2
29+ version : ~1.18.3
3030 alias : agent
3131 condition : agent.enabled
3232 - name : common
You can’t perform that action at this time.
0 commit comments