ConfigMap र Secret ले configuration लाई container image बाट अलग गर्छन्, त्यसैले उही image dev, staging र production मा फरक-फरक सेटिङसहित चल्छ। ConfigMap ले गैर-संवेदनशील config राख्छ; Secret ले संवेदनशील डेटा (password, token, key) राख्छ र अझ सावधानीपूर्वक सम्हालिन्छ।
विचार: image बाहिर config
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.
