[ESR] Force esr-server to run as non-root 07/107707/1
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 14 May 2020 19:28:54 +0000 (21:28 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 14 May 2020 19:28:54 +0000 (21:28 +0200)
commit1e6740ddde8f7040b204e63bc457c1f6bea90523
treee6844dd57e43914d13299bcebb1914345fce8c0b
parent4c62d4db068a64494fd19870977c3eaa0b63c670
[ESR] Force esr-server to run as non-root

Use securityContext to run esr-server as a non-root user.
Unfortunately esr-server docker is built in a way that doesn't allow use
to just change the user and continue using it. We need to make sure
that conf dir is writable for this user because this docker modifies
its configuration files from docker_entrypoint.sh

Issue-ID: AAI-2896
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: If6eba45c9571753fa9e5ce4f386c2e391788c734
kubernetes/esr/charts/esr-server/templates/deployment.yaml