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 user inside containers #38

Open Samusername opened 5 years ago

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.

This topic is duplicate with: https://github.com/lwolf/stolon-chart/issues/29 ( Can / should these be merged together. )

lwolf commented 5 years ago

This description makes much more sense than in #29 and it is definitely something we should add.

Karthik11Hegde commented 4 years ago

Is there any update on this use-case?

lwolf commented 4 years ago

This chart uses official docker images from the stolon and preferably this change should be done there.