When creating a deployment, specifically for a pod. I’m often when something should be a value (in values.yaml or overrides) or whether it should be in a ConfigMap. Things that can’t be values (e.g. files, secrets) are obvious but in many situations I’m scratching my head wondering should I put X in values.yaml or in a ConfigMap? I really don’t understand what is the formula/standard/best practice for using one over the other. I tried searching the internet but there are not many discussions about it so I’m wondering if it’s just obvious or maybe there’s just something I’m not getting.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Dynamic configuration for configmap | 0 | 437 | November 14, 2019 | |
Helm Secrets question - What is the purpose of the 'values.yaml' file (under helm_vars directory)? | 0 | 1175 | November 23, 2019 | |
How should I protect Helm secrets in values.yaml? | 0 | 1521 | September 14, 2020 | |
Updating configmap | 0 | 885 | June 6, 2018 | |
How to use file, within "ConfigMap" | 2 | 1817 | May 26, 2021 |