8000 chore(helm): rename helm field config file by rscampos · Pull Request #4018 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore(helm): rename helm field config file #4018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deploy/helm/tracee/templates/tracee-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
labels:
{{- include "tracee.labels" . | nindent 4 }}
data:
{{- if .Values.traceeConfig }}
{{- if .Values.configFile }}
config.yaml:
{{- toYaml .Values.traceeConfig | nindent 4 }}
{{- toYaml .Values.configFile | nindent 4 }}
{{- else }}
config.yaml: |-
cache:
Expand Down
10 changes: 7 additions & 3 deletions deploy/helm/tracee/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ affinity: {}
webhook: ""

# extraWebhookTemplates is a list of additional webhook templates that can be used by
# the traceeConfig or config.output.webhook fields
# the configFile or config.output.webhook fields
# in the example below, the goTemplate content will be mounted as /tracee/templates/template1.tmpl
extraWebhookTemplates: []
# - name: "template1.tmpl"
Expand All @@ -74,8 +74,12 @@ extraWebhookTemplates: []
# }
# }

traceeConfig: {}
# The configFile field specifies the Tracee configuration file path and can be
# changed directly via CLI command using --set-file configFile=myconfig.yaml
configFile: {}

# This config field holds default values for Tracee configuration and each field
# can be changed individually via CLI command, using --set config.field=value
config:
blobPerfBufferSize: ""
perfBufferSize: 1024
Expand All @@ -101,7 +105,7 @@ config:
execHash: dev-inode
sortEvents: false
# uncomment config.output.webhook to enable a single webhook
# to configure multiple webhooks, use the traceeConfig field
# to configure multiple webhooks, use the configFile field
# webhook:
# name: "webhook1"
# contentType: "application/json"
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/install/config/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ or to provide a complete config file:
```
helm install tracee aqua/tracee \
--namespace tracee --create-namespace \
--set-file traceeConfig=myconfig.yaml
--set-file configFile=myconfig.yaml
```
Loading
0