Skip to content

Commit

Permalink
[stable/falco] add extraArgs (helm#9738)
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Attard <[email protected]>
  • Loading branch information
cameronattard authored and k8s-ci-robot committed Dec 19, 2018
1 parent 7030efc commit e6ed4d2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
4 changes: 4 additions & 0 deletions stable/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 Sysdig Falco Helm Chart. The release
numbering uses [semantic versioning](http://semver.org).

## v0.5.6

* Allow extra container args

## v0.5.5

* Update correct slack example
Expand Down
2 changes: 1 addition & 1 deletion stable/falco/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: falco
version: 0.5.5
version: 0.5.6
appVersion: 0.13.0
description: Sysdig Falco
keywords:
Expand Down
1 change: 1 addition & 0 deletions stable/falco/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ The following table lists the configurable parameters of the Falco chart and the
| `image.tag` | The image tag to pull | `0.13.0` |
| `image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `resources` | Specify container resources | `{}` |
| `extraArgs` | Specify additional container args | `[]` |
| `rbac.create` | If true, create & use RBAC resources | `true` |
| `serviceAccount.create` | Create serviceAccount | `true` |
| `serviceAccount.name` | Use this value as serviceAccountName | ` ` |
Expand Down
11 changes: 10 additions & 1 deletion stable/falco/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,16 @@ spec:
{{ toYaml .Values.resources | indent 12 }}
securityContext:
privileged: true
args: [ "/usr/bin/falco", "-K", "/var/run/secrets/kubernetes.io/serviceaccount/token", "-k", "https://kubernetes.default", "-pk"]
args:
- /usr/bin/falco
- -K
- /var/run/secrets/kubernetes.io/serviceaccount/token
- -k
- https://kubernetes.default
- -pk
{{- if .Values.extraArgs }}
{{ toYaml .Values.extraArgs | indent 12 }}
{{- end }}
env:
{{- if .Values.ebpf.enabled }}
- name: SYSDIG_BPF_PROBE
Expand Down
2 changes: 2 additions & 0 deletions stable/falco/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ resources: {}
# cpu: 20m
# memory: 128Mi

extraArgs: []

rbac:
# Create and use rbac resources
create: true
Expand Down

0 comments on commit e6ed4d2

Please sign in to comment.