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
This appears to be a documentation issue. The kind of a yaml/json parsed number is float64 with the library that's used. Please file an issue in helm-www.
Behavior details can be found in mentioned issue.
The text was updated successfully, but these errors were encountered:
// - This decodes any number (although it is an integer) into a float64 if the type of obj is unknown, e.g. *map[string]interface{}, *interface{}, or *[]interface{}. This means integers above +/- 2^53 will lose precision when round-tripping. Make a JSONOpt that calls d.UseNumber() to avoid this.
If you use an integer right in the template it will return true. If you use a number passed from the values.yaml file it will need to be a float64.
Opening this issue following the reply on helm/helm#12084 (helm/helm#12084 (comment))
Description
{{ if kindIs "int" 123 }}
returns false when documentation says it should return true.Behavior details can be found in mentioned issue.
The text was updated successfully, but these errors were encountered: