e2e: cloud-config
secret can be removed before CAPO/CAPI resources being deleted
#2110
Labels
kind/bug
Categorizes issue or PR as related to a bug.
/kind bug
What steps did you take and what happened:
In e2e, when tearing down the tests, we remove the namespace that was used.
In that namespace, there is the
cloud-config
secret that is used to store the OpenStack credentials.If that secret is removed, some resources will fail to be reconciled by the cluster so deleting the namespace at the end of the tests is problematic if not everything was reconciled.
This could lead to this error:
(Found via #2067)
I think until now we were lucky because all cluster resources were removed before the namespace gets deleted but with the new controller things might take a little bit more time and we found this issue again.
The text was updated successfully, but these errors were encountered: