mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 16:26:04 +02:00
17 lines
536 B
Markdown
17 lines
536 B
Markdown
![]() |
# 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 {{네임스페이스}}`
|