Score:0

helm - changing all configmaps during upgrade

es flag

We faced this kind of problem. When we start upgrading via helm - all our configmaps are changed after upgrade. The question is How to say helm DO NOT change the configmaps during upgrading release? We want to change configmaps by configmanager. Thanks everyone for tips!

Pavel Popov avatar
es flag
btw helm version 3.5.3
Score:1
es flag

as a quick solution make 2 chart.

  1. chart for making first install. -it contains all configmap -You must add anotation configmap. annotations: "helm.sh/resource-policy": keep

  2. chart for helm upgrade.

it doenst have any confimaps. Only deploments if you install for the first time install your app from chart 1. To upgrade it use chart 2.

I belive there is the better way to make it. If someone has any idea=) i will be glad=) THANKS!

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.