Skip to content

Commit

Permalink
use directory-mapping instead of simple containerd.socket-file-mapping
Browse files Browse the repository at this point in the history
to allow falco to reconnect if containerd got restarted on host

Fixes #632
  • Loading branch information
Fabian Zimmermann committed Feb 22, 2024
1 parent 70efc03 commit 2f9f200
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/falco/templates/pod-template.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
{{- if .enabled }}
{{- if .containerd.enabled }}
- --cri
- /run/containerd/containerd.sock
- /run/containerd/{{ base .containerd.socket }}
{{- end }}
{{- if .crio.enabled }}
- --cri
Expand Down Expand Up @@ -159,7 +159,7 @@ spec:
name: docker-socket
{{- end }}
{{- if .containerd.enabled }}
- mountPath: /host/run/containerd/containerd.sock
- mountPath: /host/run/containerd/
name: containerd-socket
{{- end }}
{{- if .crio.enabled }}
Expand Down Expand Up @@ -262,7 +262,7 @@ spec:
{{- if .containerd.enabled }}
- name: containerd-socket
hostPath:
path: {{ .containerd.socket }}
path: {{ dir .containerd.socket }}
{{- end }}
{{- if .crio.enabled }}
- name: crio-socket
Expand Down

0 comments on commit 2f9f200

Please sign in to comment.