I am trying to delete multiple ConfigMaps at once using a label. With kubectl
, I would do it as follow:
kubectl delete cm -l application=my-app
Kubeclient offers the delete_config_map
method, but it requires a name.
# `k` is an instance of Kubeclient::Clientk.delete_config_map('my-config-map')
Is there a way to acheive the same behavior as the CLI here?