draft-classic icon indicating copy to clipboard operation
draft-classic copied to clipboard

make chart validation errors from helm prettier

Open michelleN opened this issue 7 years ago • 3 comments

ex.

example-java: Releasing Application /buildApp: release error: could not install release: rpc error: code = Unknown desc = render error in "java/templates/ingress.yaml": template: java/templates/ingress.yaml:1:14: executing "java/templates/ingress.yaml" at <.Values.ingress.enab...>: can't evaluate field enabled in type interface {}

michelleN avatar Mar 29 '18 18:03 michelleN

this would be a fantastic starter issue. :)

bacongobbler avatar May 03 '18 05:05 bacongobbler

There's a limited amount we can do on the Draft side about this; is it something we should tackle on the Helm side, or just try to recognise the error from the Helm message and pretty it up as best we can?

itowlson avatar Jun 04 '18 18:06 itowlson

It's actually turtles all the way down: the error comes from kubernetes' validation APIs, then goes through tiller then Draft. :)

bacongobbler avatar Jun 04 '18 18:06 bacongobbler