aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2024-09-20 11:02:48 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2024-09-20 11:04:28 +0200
commit77823e8b6310f96d22485f73a44e6d7259da9c21 (patch)
treebe1dca2db6cf619ecb1573a2bf9a77598040592b
parent8f18021971ec34af1a470476b1b3c42beceb4ec3 (diff)
Allow provileged and remove obsolete clean operations
Change-Id: I8700848f0ab37bab640f73daff938eeb00cf7b01 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 420bba68f6595575198d402596d49e0b1f2e9ea0)
-rw-r--r--functest_kubernetes/cnf_conformance/conformance.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py
index b578ce22..80f1acfd 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
@@ -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)