k8s-unused-secret-detector Command Examples

Detect unused Kubernetes secrets. More information: https://github.com/dtan4/k8s-unused-secret-detector.

k8s-unused-secret-detector

k8s-unused-secret-detector -n {{namespace}}

k8s-unused-secret-detector -n {{namespace}} | kubectl delete secret -n {{namespace}}