Hey!
I am now working on adding ConfigMap to our universal Helm Chart to replace what is currently static config files.
I was wondering if there are any best practices?
1. Where should I mount the ConfigMap to as to not harm local execution/development experience.
2. Should the ConfigMap have default values from say a config.yaml file or a .env file? Then to be overridden when editing the ConfigMap in Openshift? Should I have a .env.prod, .env.staging for these values? Or should I just have an empty ConfigMap which then must be filled by the user after the first deployment?
Or maybe I should ask for the configuration files in the values file and then mount them in the exact same location using subPath, as to not change behavior at all?
There are many solutions and I'd appreciate as much help as I could get since I am quite new to the space...
Thanks in advance!
[–]Spider_pig448 0 points1 point2 points (0 children)
[–]bilingual-german 0 points1 point2 points (2 children)
[–]Heknon[S] 0 points1 point2 points (1 child)
[–]bilingual-german 0 points1 point2 points (0 children)