Skip to content
Merged
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
16 changes: 9 additions & 7 deletions .deploy/helm/eupf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,18 @@ configMaps: {}
# foo: bar

# volumes.
# The /sys hostPath volume is required: as root, the container entrypoint
# mounts bpffs and debugfs under /sys to load the eBPF data plane; as a
# non-root user (see securityContext) eUPF uses the node's bpffs through it.
# The node's BPF filesystem, where eUPF pins its maps. Only bpffs is needed
# as a non-root user; a root container that mounts bpffs and debugfs itself
# (the entrypoint does, when root) needs /sys instead.
volumes:
- name: sys
hostPath:
path: /sys
path: /sys/fs/bpf

# volume mounts
volumeMounts:
- name: sys
mountPath: /sys
readOnly: true
mountPath: /sys/fs/bpf

hostNetwork: false

Expand Down Expand Up @@ -251,8 +250,11 @@ podSecurityContext:
# capabilities:
# add: [NET_ADMIN, SYS_RESOURCE, BPF, PERFMON, DAC_OVERRIDE]
securityContext:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
capabilities:
add: [NET_ADMIN, SYS_ADMIN, SYS_RESOURCE, BPF, PERFMON]
add: [NET_ADMIN, SYS_RESOURCE, BPF, PERFMON, DAC_OVERRIDE]
Comment thread
pirog-spb marked this conversation as resolved.
Resolved

extraContainerPorts:
- name: metrics
Expand Down
Loading