aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2024-09-23 14:43:15 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2024-09-23 14:45:19 +0200
commitf7bb307634e15022874db7d50bc37bf6dea62bea (patch)
treecf9af830b48fc971a560d5eac9629f97907a675d
parenta4e9f475fb0ecd17f00c0d1f922420b41548e984 (diff)
Upgrade CNF TestSuite to v1.3.3
Change-Id: I3ee3d1b49fc9efded0b3edc00a8ba67b5cc63bca Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c8394e99a2e6564e137dab1961d26efed9d5ac87)
-rw-r--r--docker/cnf/Dockerfile2
-rw-r--r--functest_kubernetes/cnf_conformance/conformance.py7
2 files changed, 4 insertions, 5 deletions
diff --git a/docker/cnf/Dockerfile b/docker/cnf/Dockerfile
index 6d7673fd..289fa15e 100644
--- a/docker/cnf/Dockerfile
+++ b/docker/cnf/Dockerfile
@@ -1,7 +1,7 @@
FROM opnfv/functest-kubernetes-core:v1.28
ARG K8S_TAG=1.28
-ARG CNF_TESTSUITE_TAG=v1.0.0
+ARG CNF_TESTSUITE_TAG=v1.3.3
ARG HELM_TAG=v3.3.1
USER root
diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py
index b578ce22..41ce05c8 100644
--- a/functest_kubernetes/cnf_conformance/conformance.py
+++ b/functest_kubernetes/cnf_conformance/conformance.py
@@ -72,7 +72,7 @@ class CNFConformance(testcase.TestCase):
client.V1Namespace(metadata=client.V1ObjectMeta(
labels={
"pod-security.kubernetes.io/enforce":
- "baseline"})))
+ "privileged"})))
self.__logger.debug(
"patch_namespace: %s", namespace)
break
@@ -81,7 +81,7 @@ class CNFConformance(testcase.TestCase):
client.V1Namespace(metadata=client.V1ObjectMeta(
name=namespace, labels={
"pod-security.kubernetes.io/enforce":
- "baseline"})))
+ "privileged"})))
self.__logger.debug(
"create_namespace: %s", namespace)
os.chdir(self.src_dir)
@@ -155,8 +155,7 @@ class CNFConformance(testcase.TestCase):
self.stop_time = time.time()
def clean(self):
- for clean_cmd in ['uninstall_falco',
- 'cnf_cleanup']:
+ for clean_cmd in ['cnf_cleanup']:
cmd = ['cnf-testsuite', clean_cmd,
'cnf-config=cnf-testsuite.yml']
output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)