1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 16:26:04 +02:00
tldr/pages.ko/common/k8s-unused-secret-detector.md

17 lines
536 B
Markdown
Raw Normal View History

# k8s-unused-secret-detector
> 사용되지 않는 Kubernetes 시크릿 감지.
> 더 많은 정보: <https://github.com/dtan4/k8s-unused-secret-detector>.
- 사용되지 않는 시크릿 감지:
`k8s-unused-secret-detector`
- 특정 네임스페이스에서 사용되지 않는 시크릿 감지:
`k8s-unused-secret-detector -n {{네임스페이스}}`
- 특정 네임스페이스에서 사용되지 않는 시크릿 삭제:
`k8s-unused-secret-detector -n {{네임스페이스}} | kubectl delete secret -n {{네임스페이스}}`