Skip to content

Commit

Permalink
[aoc-collector non-root user]: Configuration to start aws-collector w…
Browse files Browse the repository at this point in the history
…ith root user access (#1467)

* Configuration to start aws-collector with root user access for awscontainerinsightreceive
  • Loading branch information
PaurushGarg authored Oct 25, 2023
1 parent 0380d09 commit 53215a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/eks/container-insights-agent/daemonset.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ spec:
containers:
- name: aws-otel-collector
image: ${OTELIMAGE}
securityContext:
runAsUser: 0
runAsGroup: 0
env:
- name: K8S_NODE_NAME
valueFrom:
Expand Down

0 comments on commit 53215a2

Please sign in to comment.