mirror of https://github.com/linkerd/linkerd2.git
# Problem In order to refactor `install` to allow for a more flexible configuration, we should start with the format of the YAML that it renders. Using the Helm YAML format will make it easier add flexible configuration options in the future. Currently, the rendered template that `install` produces does not follow this format. # Solution Use the internals that Helm itself uses to render an inject template that follows the same formatting rules. Helm's `template` cmd provides a good outline of what is needed to make Linkerd's `install` cmd work as if it was a Chart. # Validation There are no new tests, but there may not be anything to test at this stage. This is a WIP PR towards the ultimate goal of `install` allowing a more flexible configuration. However, `install` now uses all the Helm `template` internals and therefore satisfies the needed properties for Helm Charts. Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> |
||
---|---|---|
.. | ||
template.go |