Skip to content

Commit

Permalink
feature(helm): allow default policy customization
Browse files Browse the repository at this point in the history
  • Loading branch information
josedonizetti committed Oct 29, 2023
1 parent 637d546 commit 7400dec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/helm/tracee/templates/tracee-policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ metadata:
labels:
{{- include "tracee.labels" . | nindent 4 }}
data:
{{- if .Values.defaultPolicy }}
default.yaml:
{{- toYaml .Values.defaultPolicy | nindent 4 }}
{{- else }}
default.yaml: |-
apiVersion: tracee.aquasec.com/v1beta1
kind: Policy
Expand Down Expand Up @@ -87,3 +91,4 @@ data:
- event: net_packet_dns_response
- event: net_packet_http_request
- event: net_packet_http_response
{{- end }}
2 changes: 2 additions & 0 deletions deploy/helm/tracee/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ affinity: {}

webhook: ""

defaultPolicy: {}

traceeConfig: {}

config:
Expand Down

0 comments on commit 7400dec

Please sign in to comment.