Introduction
Sometimes your application needs configuration files that can change without rebuilding the app. ConfigMaps let you store these files separately and mount them inside your app's container as files.
When you want to provide configuration files to your app without baking them into the container image.
When you need to update configuration files without restarting or rebuilding your app container.
When multiple pods need to share the same configuration files consistently.
When you want to separate app code from environment-specific settings.
When you want to keep configuration files versioned and managed by Kubernetes.