Categorygithub.com/edsoncelio/kubeclean
repositorypackage
0.1.1
Repository: https://github.com/edsoncelio/kubeclean.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

GitHub go.mod Go version GitHub release (latest by date) GitHub last commit Github workflow Go Report Card

kubeclean

Tool to remove empty namespaces on kubernetes

Disclaimer: Work in progress, just to practice go :p

:warning: Do not run with a kubeconfig with role cluster-admin!

Requirements

  • Go +1.15.2
  • kubectl installed
  • valid kubeconfig

Installation

from release

Download the package from the release page and execute

using go get

$ go get github.com/edsoncelio/kubeclean

from source

TODO

Usage

$ kubeclean

TODO

  • add documentation
  • add tests
  • check for deployment
  • check for service
  • check for statefulset
  • check for secret (beyond default)
  • check for service account (beyond default)
  • use external file to namespace exceptions (system namespaces)
  • create the help flag
  • configure CI (with github actions)
  • configure release