Deleting a secret
The kubectl delete command can be used to delete a secret.
To delete a secret, issue the command specifying the secret.
kubectl delete secret secretname
The following example shows the command to delete extra-community-configs secret.
kubectl delete secret extra-community-configs
Parent Topic: Managing secrets in Kubernetes