Chapter 7: ConfigMaps and Secrets
⏱️ Total chapter time: ~45 min (20 min reading + 25 min lab)
After this chapter, you will be able to: Externalize application configuration using ConfigMaps, manage sensitive data with Secrets, mount both as environment variables or files, and understand the security implications.
What’s Inside
| Section | Topic | Time |
|---|---|---|
| 7.1 | ConfigMaps — Externalizing Configuration | ~5 min |
| 7.2 | Secrets — Handling Sensitive Data | ~6 min |
| 7.3 | Environment Variables vs Volume Mounts | ~5 min |
| 7.4 | Immutable ConfigMaps and Secret Rotation | ~4 min |
| 7.5 | 🔬 Lab: Configure a 12-Factor App | ~25 min |
Prerequisites
- Completed Chapter 3 (Pods)
minikube statusshowsRunning