Categorygithub.com/rajatjindal/kubectl-delete-in-allns
repositorypackage
0.0.4
Repository: https://github.com/rajatjindal/kubectl-delete-in-allns.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

kubectl-remove-in-allns

This has not been tested thoroughly. Not recommended for use in Production and use at your own risk.

This kubectl plugin can delete a given resource from all the namespaces

sample usage

$ ./kubectl-remove-in-allns configmap my-test-config
INFO[0000] configmap "my-test-config" deleted from namespace "default" 
INFO[0000] configmap "my-test-config" not found in namespace "kube-node-lease" 
INFO[0000] configmap "my-test-config" not found in namespace "kube-public" 
INFO[0000] configmap "my-test-config" deleted from namespace "kube-system" 
INFO[0000] configmap "my-test-config" deleted from namespace "test" 

supports following resources right now (PR welcome for supporting other resource types):

  • configmaps
  • secrets
  • ingress
  • deployments