[SECURITY] Include cert check of the internal ports 64/116664/2
authormrichomme <morgan.richomme@orange.com>
Thu, 7 Jan 2021 10:00:09 +0000 (11:00 +0100)
committermrichomme <morgan.richomme@orange.com>
Thu, 7 Jan 2021 10:37:56 +0000 (11:37 +0100)
commit682b993848db69e54eb01a8745eb2cb98ed40ceb
treed9511965af7d3618ab24f1724c27a6c5d6c0820c
parent94e27de8ea2db18be2878faf38f5d74a09acfdf7
[SECURITY] Include cert check of the internal ports

A test dealing with the verification of the ports exposed as nodeports
is already integrated. The goal of the patch is to compelte with a test
dealing with all the internal ports retrieved from k8s on the ONAP namespace.

Unlike nodeport_check_certs, this test must be executed from inside the
cluster.
As a consequence a dependency is added in testcases.yaml
- TEST_ENVIRONMENT: 'internal_job'

In order to avoir triggerring the test when executing all the infra
tests of this xtesting dockers.
A kubernetes job consuming the image shall be created in xtesting-onap
to execute the test.

Issue-ID: INT-1818

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I16bb55fb784bd67f8a2b59f9f895fb754da8e3d0
infra-healthcheck/docker/testcases.yaml
infra-healthcheck/infra_healthcheck/k8stest.py
infra-healthcheck/setup.cfg