Skip to content

Commit b81c8f7

Browse files
committed
Update generated manifests
1 parent d067780 commit b81c8f7

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ spec:
7171
- name: ELASTIC_NETINFO
7272
value: "false"
7373
securityContext:
74+
runAsUser: 0
7475
# The following capabilities are needed for 'Defend for containers' integration (cloud-defend)
7576
# If you are using this integration, please uncomment these lines before applying.
7677
#capabilities:
@@ -79,7 +80,6 @@ spec:
7980
# - PERFMON # (since Linux 5.8) allows attaching of BPF programs used for performance metrics and observability operations.
8081
# - SYS_RESOURCE # Allow use of special resources or raising of resource limits. Used by 'Defend for Containers' to modify 'rlimit_memlock'
8182
########################################################################################
82-
runAsUser: 0
8383
# The following capabilities are needed for Universal Profiling.
8484
# More fine graded capabilities are only available for newer Linux kernels.
8585
# If you are using the Universal Profiling integration, please uncomment these lines before applying.

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ spec:
7272
value: "false"
7373
securityContext:
7474
runAsUser: 0
75+
# The following capabilities are needed for 'Defend for containers' integration (cloud-defend)
76+
# If you are using this integration, please uncomment these lines before applying.
77+
#capabilities:
78+
# add:
79+
# - BPF # (since Linux 5.8) allows loading of BPF programs, create most map types, load BTF, iterate programs and maps.
80+
# - PERFMON # (since Linux 5.8) allows attaching of BPF programs used for performance metrics and observability operations.
81+
# - SYS_RESOURCE # Allow use of special resources or raising of resource limits. Used by 'Defend for Containers' to modify 'rlimit_memlock'
82+
########################################################################################
7583
# The following capabilities are needed for Universal Profiling.
7684
# More fine graded capabilities are only available for newer Linux kernels.
7785
# If you are using the Universal Profiling integration, please uncomment these lines before applying.
@@ -140,8 +148,8 @@ spec:
140148
hostPath:
141149
path: /etc/machine-id
142150
type: File
143-
# Needed for Universal Profiling
144-
# If you are not using this integration, then these volumes and the corresponding
151+
# Needed for 'Defend for containers' integration (cloud-defend) and Universal Profiling
152+
# If you are not using one of these integrations, then these volumes and the corresponding
145153
# mounts can be removed.
146154
- name: sys-kernel-debug
147155
hostPath:

0 commit comments

Comments
 (0)