mockserver icon indicating copy to clipboard operation
mockserver copied to clipboard

Helm Install of 5.14.0 should take an array as an input for ingress path

Open cdestefano-777 opened this issue 4 years ago • 3 comments

Hello, I am installing the most recent version of the helm charts (5.14.0). Currently, we are passing in the same variables as 5.13.2, but encountering the error:

Error: UPGRADE FAILED: template: mockserver/templates/ingress.yaml:33:28: executing "mockserver/templates/ingress.yaml" at <.Values.ingress.path>: can't evaluate field Values in type interface {}

The paths should read or process an array rather than a string value for the value of path, which is throwing the above error.

cdestefano-777 avatar Nov 22 '22 20:11 cdestefano-777

Faced with the same. Mistake is here: https://github.com/mock-server/mockserver/blob/mockserver-5.14.0/helm/mockserver/templates/ingress.yaml#L33 Fix described here: https://stackoverflow.com/questions/56671452/helm-chart-error-cant-evaluate-field-values-in-type-interface

zifter avatar Nov 25 '22 15:11 zifter

Fix is here: #1565

zifter avatar Nov 25 '22 16:11 zifter

@zifter Thanks for the quick fix here. Guys do you know when we can roll out a new version of helm chart?

pashchuk avatar Nov 25 '22 22:11 pashchuk