Skip to content

Commit

Permalink
feat(falcosidekick): support extra args in the chart
Browse files Browse the repository at this point in the history
Signed-off-by: Cyprien Oger <cyprien.oger@opendatasoft.com>
  • Loading branch information
ogercyprien committed Oct 20, 2023
1 parent 5cea265 commit a757f5e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/falcosidekick/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ numbering uses [semantic versioning](http://semver.org).

Before release 0.1.20, the helm chart can be found in `falcosidekick` [repository](https://github.com/falcosecurity/falcosidekick/tree/master/deploy/helm/falcosidekick).

## 0.7.7

* Support extraArgs in the helm chart

## 0.7.6

* Fix the behavior with the `AWS IRSA` with a new value `aws.config.useirsa`
Expand Down
2 changes: 1 addition & 1 deletion charts/falcosidekick/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 2.28.0
description: Connect Falco to your ecosystem
icon: https://raw.githubusercontent.com/falcosecurity/falcosidekick/master/imgs/falcosidekick_color.png
name: falcosidekick
version: 0.7.6
version: 0.7.7
keywords:
- monitoring
- security
Expand Down
3 changes: 2 additions & 1 deletion charts/falcosidekick/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ The following table lists the main configurable parameters of the Falcosidekick
| config.elasticsearch.username | string | `""` | use this username to authenticate to Elasticsearch if the username is not empty |
| config.existingSecret | string | `""` | Existing secret with configuration |
| config.extraEnv | list | `[]` | Extra environment variables |
| config.extraArgs | list | `[]` | Extra arguments for falcosidekick execution |
| config.fission.checkcert | bool | `true` | check if ssl certificate of the output is valid |
| config.fission.function | string | `""` | Name of Fission function, if not empty, Fission is enabled |
| config.fission.minimumpriority | string | `""` | minimum priority of event to use this output, order is `emergency\|alert\|critical\|error\|warning\|notice\|informational\|debug or ""` |
Expand Down Expand Up @@ -651,4 +652,4 @@ You may want to access the `WebUI (Falcosidekick UI)`](https://github.com/falcos
```yaml
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/use-regex: "true"
```
```
4 changes: 4 additions & 0 deletions charts/falcosidekick/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- end }}
{{- if .Values.config.extraArgs }}
args:
{{ toYaml .Values.config.extraArgs | nindent 12 }}
{{- end }}
envFrom:
- secretRef:
{{- if .Values.config.existingSecret }}
Expand Down
2 changes: 2 additions & 0 deletions charts/falcosidekick/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ config:
existingSecret: ""
# -- Extra environment variables
extraEnv: []
# -- Extra command-line arguments
extraArgs: []
# -- DEBUG environment variable
debug: false
# -- a list of escaped comma separated custom fields to add to falco events, syntax is "key:value\,key:value"
Expand Down

0 comments on commit a757f5e

Please sign in to comment.