-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local values are not taken at all if global is set #536
Comments
Based on discussion from helm/helm#5676 it's expected that local overwrites global ones |
thank you @michal-jagiello-tmpl we will check it out |
Thanks for using Testkube :) Overriding all Could you please use We always try to target the most common scenarios, but sometimes they interfere with each other :( |
Hi @ypoplavs Thanks for response. You mention that would broke functionality for existing users -- that's exactly what we faced -- that change broke our installations. It's hard to believe for me that people in most common scenarios assume that global values won't be used, especially in image registry case. But maybe I don't know some corner cases and it'd useful and easier for me to accept that fact, also understand, if you try to explain me that better. |
Thanks @michal-jagiello-tmpl! I will take a look. |
Thank you for taking time and releasing a PR @michal-jagiello-tmpl ! We have tested it and it does override global variables when locals are set. However, my concern is the following: how the users, that use globals as a mechanism for overriding locals, will transition to that change? One of the reasons we designed it that way was to follow Bitnami standards since we use Bitnami MongoDB in our charts as well: https://github.com/bitnami/charts/blob/main/bitnami/mongodb/values.yaml#L3 |
@ypoplavs sorry for late response. Users have to change helm values files to overwrite variables. So if they used globals change is needed only to switch from |
Hi @michal-jagiello-tmpl! Thank you for the request. In case there’s a change we will inform you instantly. |
Hello @michal-jagiello-tmpl we would love to know a bit more about how you structure your deployment process in helm and see how we can assist you best. Here's a my callendly for your convenience: https://calendly.com/bruno-at-kubeshop/30min-1 |
@TheBrunoLopes thanks for an answer. Ok, I created an appointment at 29th August as I start holidays from monday and today and tomorrow your calendar is full :( but no worries, right now it's not a blocker for us |
Describe the bug
With 6f69e00 commit I observed regression in our testkube instance. We are using only local registries on our clusters (as we don't have an internet access there) and for each kind of registry (docker.io, gcr.io) we have separate url. As docker.io is the most common one we used that value as a global one and for each other registry we overwritten them using "local" variables. As far as I understand helm values local ones should overwrite global ones, but right now it's not available. We observed that on operator-pre-upgrade job.
To Reproduce
Steps to reproduce the behavior:
helm template . --set="global.imageRegistry=test"
Expected behavior
If local variables are set the default/global variable should be overwritten
Version / Cluster
The text was updated successfully, but these errors were encountered: