Skip to content
Detect unused Kubernetes Secrets
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
go.mod
go.sum
main.go

README.md

k8s-unused-secret-detector

Detect unused Kubernetes Secrets

Build

git clone git@github.com:dtan4/k8s-unused-secret-detector.git
cd k8s-unused-secret-detector
make

Usage

k8s-unused-secret-detector [-n NAMESPACE] [--context CONTEXT]

Example: Delete unused Secrets in Namespace awesome

k8s-unused-secret-detector -n awesome | kubectl delete secret -n awesome

Author

Daisuke Fujita (@dtan4)

License

MIT

You can’t perform that action at this time.