Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dtan4/k8s-unused-secret-detector
Detect unused Kubernetes Secrets
https://github.com/dtan4/k8s-unused-secret-detector
Last synced: 3 months ago
JSON representation
Detect unused Kubernetes Secrets
- Host: GitHub
- URL: https://github.com/dtan4/k8s-unused-secret-detector
- Owner: dtan4
- License: mit
- Archived: true
- Created: 2019-10-03T11:08:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-23T12:26:28.000Z (about 2 years ago)
- Last Synced: 2024-06-20T10:08:28.144Z (5 months ago)
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 17
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This tool is no longer maintained.
Similar project: [micnncim/kubectl-reap](https://github.com/micnncim/kubectl-reap)
# k8s-unused-secret-detector
Detect unused Kubernetes Secrets
## Build
```bash
git clone [email protected]:dtan4/k8s-unused-secret-detector.git
cd k8s-unused-secret-detector
make
```## Usage
```bash
k8s-unused-secret-detector [-n NAMESPACE] [--context CONTEXT]
```Example: Delete unused Secrets in Namespace `awesome`
```bash
k8s-unused-secret-detector -n awesome | kubectl delete secret -n awesome
```## Author
Daisuke Fujita ([@dtan4](https://github.com/dtan4/))
## License
MIT