[READINESS] Update readiness python script 50/125750/1
authorothman touijer <othman.touijer@soprasteria.com>
Mon, 15 Nov 2021 10:19:33 +0000 (11:19 +0100)
committerothman touijer <othman.touijer@soprasteria.com>
Mon, 15 Nov 2021 10:19:33 +0000 (11:19 +0100)
commit5274bc78dac2f2368456b4ad6338523d27b625ff
treec0ac18bf0a57f319baa927781b11e37c2a46787f
parent81e0b038e3a838a8a7378c669f2eb7ab5c7307ca
[READINESS] Update readiness python script

Apply changes on ready.py file to replace some parts config parts
with a cleaner alternative. It now uses the "config" method from
python k8s package.
This is supposed to fix permission errors that arise when using a
service mesh. (suggested by Sylvain)

Issue-ID: OOM-2878
Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
Change-Id: Ife2635111f3267c0920f0a2631c7102b7eedcd3a
ready.py