Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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