Cleanup The Lab

Remove The Namespace

Let’s delete the namespace for this exercise:

rm -f test-creds
rm -f podconsumingsecret.yaml
kubectl delete ns secretslab

Output:


namespace "secretslab" deleted

This cleans up the secret and pod we deployed for this lab.