snippetbashTip
k8s-unused-secret-detector — Detect unused Kubernetes secrets. More information: <https://github.com/dtan4/k8s-unused-secret-dete
Viewed 0 times
commandunuseddetectk8s-unused-secret-detectorclikubernetesmoresecrets
Problem
How to use the
k8s-unused-secret-detector command: Detect unused Kubernetes secrets. More information: <https://github.com/dtan4/k8s-unused-secret-detector>.Solution
k8s-unused-secret-detector — Detect unused Kubernetes secrets. More information: <https://github.com/dtan4/k8s-unused-secret-detector>.Detect unused secrets:
k8s-unused-secret-detectorDetect unused secrets in a specific namespace:
k8s-unused-secret-detector {{[-n|--namespace]}} {{namespace}}Delete unused secrets in a specific namespace:
k8s-unused-secret-detector {{[-n|--namespace]}} {{namespace}} | kubectl delete secrets {{[-n|--namespace]}} {{namespace}}Code Snippets
Detect unused secrets
k8s-unused-secret-detectorDetect unused secrets in a specific namespace
k8s-unused-secret-detector {{[-n|--namespace]}} {{namespace}}Delete unused secrets in a specific namespace
k8s-unused-secret-detector {{[-n|--namespace]}} {{namespace}} | kubectl delete secrets {{[-n|--namespace]}} {{namespace}}Context
tldr-pages: common/k8s-unused-secret-detector
Revisions (0)
No revisions yet.