Config Map policies is used to provide environment specific configuration for your applications. For example, if you have an application that uses a proxy such as nginx and you want to enforce specific configuration in different environments, e.g. Development vs Production, you can use the Config Map policy to provide the configuration instead of creating and managing different application manifests. This makes your application manifests more portable.
Creating a Config Map Policy
To create a config map policy, you need to provide:
- Rank: Specifies the order in which this policy is processed
- Name: Name of the policy
- Application Selector: Selects the application to which this policy will be applied
- Data: Configuration key/value pairs that should be added to your application.