You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep having issues with ConfigMaps not getting updated on helm upgrade. It's not a permanent issue so I can't give an exact scenario how to reproduce. I'll try to give as much info as possible. When I'm saying it's not a permanent issue I mean it doesn't always happen when I'm changing ConfigMaps but when it does happen I can run the upgrade any number of times and the value won't change.
What I'm trying to do
I have a ConfigMap that looks like this. I'm trying to change the value of APP_DOMAIN from test.mydomain.com to develop.europa.mydomain.com.
kubectl describe cm jupiter-config
Name: jupiter-config
Namespace: develop
Labels: <none>
Annotations: kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","data":{"API_URL":"http://node-services","APP_DOMAIN":"test.mydomain.com","LOG_LEVEL":"info",...
Data
====
SHOW_ADS:
----
true
API_URL:
----
http://node-services
APP_DOMAIN:
----
test.mydomain.com
HTTP_DEBUG:
----
true
LOG_LEVEL:
----
info
I run a helm upgrade to change this value to develop.europa.mydomain.com. You can see the debug output from Helm. The upgrade completes successfully but the ConfigMap stays the same.
I had the same issue caused few 1 hour to figure out that helm failed to update configmap.
I think this is quite confusing to users, and once the configmap modified with kubectl, it won't update except 1) either update helm configmap values, 2) or delete the configmap and use helm to redeploy.
So could you add a flag, or recognize the --force flag, to not check with last release, but do check with the running one in cluster?
I keep having issues with ConfigMaps not getting updated on
helm upgrade
. It's not a permanent issue so I can't give an exact scenario how to reproduce. I'll try to give as much info as possible. When I'm saying it's not a permanent issue I mean it doesn't always happen when I'm changing ConfigMaps but when it does happen I can run the upgrade any number of times and the value won't change.What I'm trying to do
I have a ConfigMap that looks like this. I'm trying to change the value of
APP_DOMAIN
fromtest.mydomain.com
todevelop.europa.mydomain.com
.I run a
helm upgrade
to change this value todevelop.europa.mydomain.com
. You can see the debug output from Helm. The upgrade completes successfully but the ConfigMap stays the same.helm version
outputhelm upgrade
outputThe text was updated successfully, but these errors were encountered: