kiwigrid / helm-charts

Helm charts for Kubernetes curated by Kiwigrid
https://kiwigrid.github.io
MIT License
186 stars 209 forks source link

kiwigrid/fluentd-elasticsearch: How to run fluentd and es-proxy containers with non root user #366

Closed Amar69 closed 4 years ago

Amar69 commented 4 years ago

Is this a request for help?: Yes

Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

Version of Helm and Kubernetes: Helm Version: v3.2.0 Kubernetes: 1.16

Which chart in which version: Chart: kiwigrid/fluentd-elasticsearch: Version: 9.0.0

What happened:

When I install kiwigrid/fluentd-elasticsearch chart , I see both (fluentd and es proxy) containers are running with root user permission.

What you expected to happen: I want that my containers run with non-root user permission.

How to reproduce it (as minimally and precisely as possible):

helm install my-release kiwigrid/fluentd-elasticsearch

kubectl --namespace=default get pods -l "app.kubernetes.io/name=fluentd-elasticsearch,app.kubernetes.io/instance=my-release"

kubectl exec -it my-release-fluentd-elasticsearch-hcxgd -- /bin/sh

ps -ef

Result: ` UID PID PPID C STIME TTY TIME CMD root 1 0 56 08:17 ? 00:00:34 /usr/local/bin/ruby /usr/local/bundle/bin/fluentd --no-supervisor -q root 42 0 0 08:17 pts/0 00:00:00 /bin/sh root 49 42 0 08:18 pts/0 00:00:00 ps -ef

`

Anything else we need to know:

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.