Skip to content
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
1 change: 1 addition & 0 deletions charts/cortex-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ Even when using `--reuse-values` (which uses the values of the previous installa
| `namespace.name` | Name of the namespace the agent resides on | Since 1.6.0
| `namespace.create` | Create/Don't create namespace for the agent | Since 1.6.0
| `daemonset.selinuxOptionsSpcT` | Set SELinux Options type to 'spc_t' | Since 1.8.0
| `agent.sensorMode` | Enable sensor mode for lightweight cloud-native deployments | agent >= 9.3

Note: Helm requires commas in arguments to be escaped.

Expand Down
4 changes: 4 additions & 0 deletions charts/cortex-agent/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ spec:
- name: XDR_CLUSTER_TYPE
value: "autopilot"
{{- end }}
{{- if .Values.agent.sensorMode }}
- name: XDR_SENSOR_MODE
value: "1"
{{- end }}

volumeMounts:

Expand Down
3 changes: 3 additions & 0 deletions charts/cortex-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ agent:
# Name of the kuberenetes cluster - optional
clusterName: ""

# Enable sensor mode for lightweight cloud-native deployments
sensorMode: false

daemonset:
# node labels to match pods with
nodeSelector:
Expand Down
Loading