Adapt kube config retrieval for certificate check 73/116573/1
authormrichomme <morgan.richomme@orange.com>
Mon, 4 Jan 2021 16:55:10 +0000 (17:55 +0100)
committermrichomme <morgan.richomme@orange.com>
Mon, 4 Jan 2021 16:55:10 +0000 (17:55 +0100)
commitb7da6ad93bcce4218004971050a06c29288ad506
tree7f52e9866b806173dacdd1538ea9f667b98e718a
parent23f272cba8221de8e51840dba8a16f678d3ce5cb
Adapt kube config retrieval for certificate check

In case of test from inside the cluster, the k8s credentials must be retrieved
using the k8s python client method load_incluster_config

Issue-ID: INT-1818*

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: If3eb2de2099f88443ae4e36a404423b2e57769b8
test/security/check_certificates/check_certificates/check_certificates_validity.py