.Values.controller.manager.clientCache.numLocks being cast to str
chartversion 0.9.1
Describe the bug <eq .numLocks 0> : error calling eq: incompatible types for comparison
To Reproduce install the chart with default values.
Application deployment:
in airgap env sorry can not provide.
Expected behavior .numLocks being compared as integer.
Additional context
I think the issue is when pass the param or the full context "." to include function, it always pass it as a string which means the integer being cast to a string, the solution will be cast to integer back on the .tpl file ..eq (int .numLocks 0)...
I may be wrong so be happy to know if it's a bug or not.
Thank you.
Hi @seab4ng - thanks for reporting this issue. Are you passing any value overrides to the chart?
I have tried with the default (like no passing anything).. I have tried to pass int : 50 without quotes ... did not take... I debug it with and print the log and the param is assigned correctly as int but when it being passed to the func in the .tpl file its being cast to str and then the problem... am i doing something wrong? anyway eq (int .numLocks 0) in the .tpl file solved it for me