grafana / xk6-kubernetes

Client extension for interacting with Kubernetes clusters from your k6 tests.
Apache License 2.0
64 stars 21 forks source link

Deleting namespace using the generic interface fails #75

Closed pablochacin closed 2 years ago

pablochacin commented 2 years ago

When trying to delete a namespace using the generic interface introduced in #70 the operation fails with the message object is being deleted: namespaces "namepspace-name" already exists.

This issue is probably related to an issue found in the create function that lead to introducing a logic for handling namespaces as a special case. The underlying problem is that namespaces cannot be accessed using a namespaced resource interface in the dynamic Kubernetes client.