ConfigMaps and Secrets
Separate configuration from the image, deliver it as files and environment variables, and rotate it on a running Pod.
Skill labintermediate~30 minFree
What you'll do
- ✓Store configuration outside the container image
- ✓Mount a ConfigMap as a file and inject a Secret as an environment variable
- ✓Know what a Secret does and does not protect
- ✓Rotate configuration without rebuilding or restarting
Lab outline
- 01Separate config from image
- 02Deliver it to the workload
- 03Change it while it runs
Before you start
- Deploy and Reach a Web Application (or equivalent)
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.