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
impossible to set string values on the command line that look like floats #1558
Comments
Have you tried doing that with no quotes around image.tag? so |
@jchauncey yes, see above. That's were it all started. |
I particularly "like" how it helpfully converts the presumed float to scientific notation! @databus23 does it make the most sense to you if we simply added support for quotes? Other options would be:
|
Related to #1556 |
@technosophos I ran into this yesterday by trying to: helm install foo --set mlabel="05" My +1 would be for >> Allow explicit casts (--set foo=string(1.23)) I think adding a bunch of different primitives is bloated solution for something that would be rarely needed. Having the ability to reach into the toolbox and using an inline cast would provide a streamlined interface and grant access to the full range of types. |
@technosophos can you say a few words about what is the final solution to this issue implemented by #1576? I've been having the same issue in |
Ah, hadn't found this one. The replace workaround should do the job, thanks! |
@technosophos I created a pr for this issue #3599, I went with option 3, let me know if its a viable solution. Went with |
This is still a real issue that should be resolved. For anyone looking for a workaround, I'm adding letters to any character. In my use case, instead of referencing images based on their commit SHA, I'm adding their branch name. So instead of |
I have a template which contains this:
trying to do
helm install --set image.tag=20161115.1
yields this:trying to do
helm install --set 'image.tag="20161115.1"'
yields this:I think the problem lies in cmd.helm.typedVal.
Seems to to me as it stands passing a string that looks like a float via cli args is not possible atm.
The text was updated successfully, but these errors were encountered: