Skip to content

Commit

Permalink
helm: enable policyfilter by default
Browse files Browse the repository at this point in the history
Policyfilter is the underlying mechanism for namespaced policies and pod
label filters. Enable it by default on helm, so that it is on by default
on k8s environments.

Because this feature targets only k8s environments (at leat for now),
the default value on the agent, we do not change the default value of
the agent flag.

Signed-off-by: Kornilios Kourtis <[email protected]>
  • Loading branch information
kkourt committed Oct 24, 2023
1 parent de0e6d5 commit 6a366fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/content/en/docs/reference/helm-chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ To use [the values available](#values), with `helm install` or `helm upgrade`, u
| tetragon.commandOverride | list | `[]` | |
| tetragon.enableK8sAPI | bool | `true` | |
| tetragon.enableMsgHandlingLatency | bool | `false` | |
| tetragon.enablePolicyFilter | bool | `false` | |
| tetragon.enablePolicyFilter | bool | `true` | |
| tetragon.enablePolicyFilterDebug | bool | `false` | |
| tetragon.enableProcessCred | bool | `false` | |
| tetragon.enableProcessNs | bool | `false` | |
Expand Down
2 changes: 1 addition & 1 deletion install/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Helm chart for Tetragon
| tetragon.commandOverride | list | `[]` | |
| tetragon.enableK8sAPI | bool | `true` | |
| tetragon.enableMsgHandlingLatency | bool | `false` | |
| tetragon.enablePolicyFilter | bool | `false` | |
| tetragon.enablePolicyFilter | bool | `true` | |
| tetragon.enablePolicyFilterDebug | bool | `false` | |
| tetragon.enableProcessCred | bool | `false` | |
| tetragon.enableProcessNs | bool | `false` | |
Expand Down
5 changes: 2 additions & 3 deletions install/kubernetes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,8 @@ tetragon:
address: "localhost"
# -- The port at which to expose gops.
port: 8118
# Enable policy filter. This is required for K8s namespace filtering.
# NB: this is currently a beta feature
enablePolicyFilter: false
# Enable policy filter. This is required for K8s namespace filtering and pod label filters.
enablePolicyFilter: True
# Enable policy filter debug messages.
enablePolicyFilterDebug: false
# Enable latency monitoring in message handling
Expand Down

0 comments on commit 6a366fb

Please sign in to comment.