Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List resources in the test namespace when deleting it times out #467

Open
porridge opened this issue Mar 23, 2023 · 0 comments
Open

List resources in the test namespace when deleting it times out #467

porridge opened this issue Mar 23, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@porridge
Copy link
Member

What would you like to be added:

When kuttl fails to delete a namespace, attempt to list at least types and names of resources that remain there. Perhaps the namespace too, to see any finalizer fields.

Why is this needed:

When running in an automated CI system, in which the whole cluster is wiped afterwards, it is rather difficult to find out why namespace deletion failed. One just sees:

    logger.go:42: 11:14:53 | upgrade | Deleting namespace: kuttl-test-trusty-rabbit
    case.go:114: timed out waiting for the condition

It would be possible but a bit hacky to list contents of leftover kuttl namespaces from outside it afterwards. Much nicer if this capability was built into kuttl.

@porridge porridge added enhancement New feature or request good first issue Good for newcomers labels Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant