ConfigMaps आणि Secrets configuration ला container images पासून वेगळे करतात, त्यामुळे तेच image dev, staging आणि production मध्ये वेगवेगळ्या settings सह चालते. ConfigMaps संवेदनशील नसलेली config धारण करतात; Secrets संवेदनशील data (passwords, tokens, keys) धारण करतात आणि अधिक काळजीपूर्वक हाताळले जातात.
कल्पना: config image बाहेर
Image = code (immutable, built once). Config = per-environment values.
Baking config into the image is an anti-pattern (rebuild per env, secrets leak).
→ Store config in ConfigMaps/Secrets, inject at runtime as env vars or files.
