Skip to content

Added debug functions to inpsect Helm template and values

Gerard Hickey requested to merge debug_functions into master

Recently while working on the Mailroom support for the operator, it became very useful to inspect the generated Helm template and the Helm values used. The four functions here allow one to add statements to one's tests to insure that the template is getting generated as expected or to better understand why the tests being developed are not successful.

The dumpTemplate() and dumpHelmValues() functions are not quite as useful as originally intended as it seems that the Go testing framework swallows all output generated during the individual tests. They are left here as they may be useful from a programmatic approach.

Merge request reports