Skip to content

Commit

Permalink
Add /etc mount for falco container (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfdii authored and mstemm committed Jan 24, 2019
1 parent b8a25c6 commit ec07f7c
Showing 1 changed file with 13 additions and 0 deletions.
Expand Up @@ -18,6 +18,13 @@ spec:
image: falcosecurity/falco:latest
securityContext:
privileged: true
# Uncomment the 3 lines below to enable eBPF support for Falco.
# This allows Falco to run on Google COS.
# Leave blank for the default probe location, or set to the path
# of a precompiled probe.
# env:
# - name: SYSDIG_BPF_PROBE
# value: ""
args: [ "/usr/bin/falco", "-K", "/var/run/secrets/kubernetes.io/serviceaccount/token", "-k", "https://kubernetes.default", "-pk"]
volumeMounts:
- mountPath: /host/var/run/docker.sock
Expand All @@ -36,6 +43,9 @@ spec:
- mountPath: /host/usr
name: usr-fs
readOnly: true
- mountPath: /host/etc/
name: etc-fs
readOnly: true
- mountPath: /etc/falco
name: falco-config
volumes:
Expand All @@ -57,6 +67,9 @@ spec:
- name: usr-fs
hostPath:
path: /usr
- name: etc-fs
hostPath:
path: /etc
- name: falco-config
configMap:
name: falco-config

0 comments on commit ec07f7c

Please sign in to comment.