Allow provileged and remove obsolete clean operations 03/74603/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 20 Sep 2024 09:02:48 +0000 (11:02 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 20 Sep 2024 09:02:48 +0000 (11:02 +0200)
Change-Id: I8700848f0ab37bab640f73daff938eeb00cf7b01
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest_kubernetes/cnf_conformance/conformance.py

index b578ce2..80f1acf 100644 (file)
@@ -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)