How does a Secret differ from a ConfigMap?
kind: Secret type: Opaque
- It is meant for sensitive values
- It is limited to a single pod
- It is written in JSON, not YAML
- It is loaded only at build time
Both inject configuration, but Secrets get restricted handling for credentials.
Play DevOps ▸