Same as ConfigMap, but for sensitive values.
Secrets hold passwords, tokens, certs. Stored base64-encoded
and (with proper cluster setup) encrypted at rest in etcd. Don't commit
their YAML to git unprotected.
TASK
----
Run:
kubectl create secret generic db-pass --from-literal=password=s3cr3t
kubectl get secret
Pass when the listing contains "db-pass".
Sign in to save your code and track progress across devices.