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

Signed-off-by: Fabian Zimmermann <[email protected]>
  • Loading branch information
devfaz committed Mar 5, 2024
1 parent 23f9fe8 commit d3b463f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions charts/falco/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
This file documents all notable changes to Falco Helm Chart. The release
numbering uses [semantic versioning](http://semver.org).

## v4.2.3

* falco is now able to reconnect to containerd.socket

## v4.2.2

* fix(falco/README): dead link
Expand Down
2 changes: 1 addition & 1 deletion charts/falco/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: falco
version: 4.2.2
version: 4.2.3
appVersion: "0.37.1"
description: Falco
keywords:
Expand Down
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 d3b463f

Please sign in to comment.