Skip to content

Commit

Permalink
Mount docker directory to access container image mounts
Browse files Browse the repository at this point in the history
  • Loading branch information
lebauce committed Oct 25, 2024
1 parent 8dfc3b2 commit 2b5fd28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/datadog/templates/_container-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@
- name: host-containerd-dir
mountPath: /host/var/lib/containerd
readOnly: true
- name: host-docker-dir
mountPath: /host/var/lib/docker
readOnly: true
{{- end }}
{{- if .Values.datadog.sbom.host.enabled }}
- name: host-apk-dir
Expand Down
3 changes: 3 additions & 0 deletions charts/datadog/templates/_daemonset-volumes-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@
- hostPath:
path: /var/lib/containerd
name: host-containerd-dir
- hostPath:
path: /var/lib/docker
name: host-docker-dir
{{- end }}
{{- if .Values.datadog.sbom.host.enabled }}
- hostPath:
Expand Down

0 comments on commit 2b5fd28

Please sign in to comment.