[COMMON] Run timescale with postgres user 80/124280/7
authorBruno Sakoto <bruno.sakoto@bell.ca>
Wed, 15 Sep 2021 22:30:20 +0000 (18:30 -0400)
committerBruno Sakoto <bruno.sakoto@bell.ca>
Fri, 1 Oct 2021 02:57:24 +0000 (22:57 -0400)
commitd0fa8cf57eaac53f723c0ca8399f58b55655ea6f
treecda6deb2e774ae1f65b7b667b8456ae3d27e3dd4
parenta001a61bdd6430027b39281f9d79366e837c7494
[COMMON] Run timescale with postgres user

Timescale container is ran with postgres user and group which are
defined with uid 70 and gid 70.

Data volume owner is changed for postgres.

See also:
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

Issue-ID: CPS-667
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Ia87922ba68bb47a7a07aaf61f368143d970278b6
kubernetes/common/timescaledb/templates/statefulset.yaml
kubernetes/common/timescaledb/values.yaml