Dynamic configuration for configmap

Hi Guys,

let’s say you have a chart you are using in production and dev,
now you have to change the configmap you are using to be adapted to your environment.

how would you sperate it?
my opinion was to create 2 Values file:

  1. values_dev.yaml
  2. values_prod.yaml

and install/upgrade the helm by using “-f” flag which point to another file each time.

do you have better ideas?
Thanks alot, Gidi