lwolf / stolon-chart

Kubernetes Helm chart to deploy HA Postgresql cluster based on Stolon
MIT License
105 stars 39 forks source link

How to run stolon as Non-Root #29

Closed sathyu closed 5 years ago

sathyu commented 5 years ago

Hello

How can I deploy stolon as NOn-root in production.

I was able to deploy as root in my development box, but this will not work in prod. Thanks

lwolf commented 5 years ago

What do you mean?

Samusername commented 5 years ago

There are environments where applications inside containers must not be executed as a root user, but as a non-root user. Currently stolon gets executed as root user inside the container. Is there a way to make it run as non-root?

Non-root user should be used inside all of the containers: keepers, sentinel and proxy containers.