Skip to content

Commit 47541d4

Browse files
alacukupoiana
authored andcommitted
update(falco): mount proc filesystem for plugins
The following PR in the libs falcosecurity/libs#1969 introduces a new platform for plugins that requires access to the proc filesystem. Signed-off-by: Aldo Lacuku <[email protected]>
1 parent ed8c535 commit 47541d4

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

charts/falco/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ numbering uses [semantic versioning](http://semver.org).
1212
* cleanup(falco): remove deprecated falco configuration
1313
This commit removes the "output" config key that has
1414
been deprecated in falco.
15+
* update(falco): mount proc filesystem for plugins
16+
The following PR in libs https://github.com/falcosecurity/libs/pull/1969
17+
introduces a new platform for plugins that requires access to the
18+
proc filesystem.
19+
1520

1621
## v4.8.3
1722

charts/falco/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,6 @@ The following table lists the main configurable parameters of the falco chart v4
759759
| metrics.service.ports.metrics.protocol | string | `"TCP"` | protocol specifies the network protocol that the Service should use for the associated port. |
760760
| metrics.service.ports.metrics.targetPort | int | `8765` | targetPort is the port on which the Pod is listening. |
761761
| metrics.service.type | string | `"ClusterIP"` | type denotes the service type. Setting it to "ClusterIP" we ensure that are accessible from within the cluster. |
762-
| mounts.enforceProcMount | bool | `false` | By default, `/proc` from the host is only mounted into the Falco pod when `driver.enabled` is set to `true`. This flag allows it to override this behaviour for edge cases where `/proc` is needed but syscall data source is not enabled at the same time (e.g. for specific plugins). |
763762
| mounts.volumeMounts | list | `[]` | A list of volumes you want to add to the Falco pods. |
764763
| mounts.volumes | list | `[]` | A list of volumes you want to add to the Falco pods. |
765764
| nameOverride | string | `""` | Put here the new name if you want to override the release name used for Falco components. |

charts/falco/templates/pod-template.tpl

-4
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,8 @@ spec:
135135
{{- end }}
136136
- mountPath: /root/.falco
137137
name: root-falco-fs
138-
{{- if or .Values.driver.enabled .Values.mounts.enforceProcMount }}
139138
- mountPath: /host/proc
140139
name: proc-fs
141-
{{- end }}
142140
{{- if and .Values.driver.enabled (not .Values.driver.loader.enabled) }}
143141
readOnly: true
144142
- mountPath: /host/boot
@@ -289,11 +287,9 @@ spec:
289287
{{- end }}
290288
{{- end }}
291289
{{- end }}
292-
{{- if or .Values.driver.enabled .Values.mounts.enforceProcMount }}
293290
- name: proc-fs
294291
hostPath:
295292
path: /proc
296-
{{- end }}
297293
{{- if eq .Values.driver.kind "gvisor" }}
298294
- name: runsc-path
299295
hostPath:

charts/falco/values.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,6 @@ mounts:
267267
volumes: []
268268
# -- A list of volumes you want to add to the Falco pods.
269269
volumeMounts: []
270-
# -- By default, `/proc` from the host is only mounted into the Falco pod when `driver.enabled` is set to `true`. This flag allows it to override this behaviour for edge cases where `/proc` is needed but syscall data source is not enabled at the same time (e.g. for specific plugins).
271-
enforceProcMount: false
272270

273271
# Driver settings (scenario requirement)
274272
driver:

0 commit comments

Comments
 (0)