Exemple #1
0
 def finalizer():
     """
     Delete the service account
     """
     helpers.remove_scc_policy(
         sa_name=class_instance.sa_obj.name,
         namespace=class_instance.project_obj.namespace)
     class_instance.sa_obj.delete()
Exemple #2
0
 def finalizer():
     """
     Delete the service account
     """
     for instance in instances:
         helpers.remove_scc_policy(sa_name=instance.name,
                                   namespace=instance.namespace)
         instance.delete()
         instance.ocp.wait_for_delete(resource_name=instance.name)