grafana / xk6-kubernetes

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

Use non-namespaced resource for namespaces #76

Closed pablochacin closed 1 year ago

pablochacin commented 1 year ago

Using a namespaced resource interface for accessing namespaces (in particular, creating or deleting) fails because the namespace resource is non-namespaced.

This change set introduces logic for handling namespaces as a special resource type and use a non-namespaced resource interface.

Fixes #75

Signed-off-by: Pablo Chacin pablochacin@gmail.com