commands.sh

k8s-unused-secret-detector

all

Detect unused Kubernetes secrets.

More info →

Options (1)

-n, --namespaceboolean

Detect unused secrets in a specific namespace

Example: k8s-unused-secret-detector {{[-n|--namespace]}} {{namespace}}

Examples (3)

Detect unused secrets

Detect 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
made by @shridhargupta | data from tldr-pages