[COMMON][READINESS] Fix user and group 13/118513/4
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 25 Feb 2021 13:17:55 +0000 (14:17 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 3 Mar 2021 19:52:17 +0000 (19:52 +0000)
commit82f041d3a261436735c4206f2c3630ccb294c31a
tree285762006ddb83ae4fbd58a7beb237fbaa965dac
parenta380f597fc80fee083ce2d8bf2ca408a660fba1b
[COMMON][READINESS] Fix user and group

readiness check can be launched in a lot of various situation.
Especially, it can be runned on deployments / statefulsets where the
user and group are fixed.
But python code underneath can work only when user is set to "onap" as
requirements are installed only for this specific user.
This patch forces the user and group to the desired one.

Issue-ID: OOM-2694
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ie70f8e851c30f530fd7a0d6e34ee5bda9274e874
kubernetes/common/readinessCheck/templates/_readinessCheck.tpl
kubernetes/common/readinessCheck/values.yaml