ytt icon indicating copy to clipboard operation
ytt copied to clipboard

Create guide: How to use ytt with Helm

Open cari-lynn opened this issue 2 years ago • 1 comments

Why

Authors or consumers can use helm and ytt together, but they may believe that it's not possible since we have no documentation on how to do it or what use cases it would serve. These guides are intended to be lightweight and highlight these use cases with simple examples.

What

Some use cases we can touch on are:

  • Patching Helm templates: show example of Helm templates with a ytt overlay Helm post-renderer. (ie: --post-renderer "./overlays.sh)
    • There's an example of this here
  • Schema type checking Helm inputs: Using ytt Schemas to type check values that are then piped into helm templates. (ie: ytt -f schema.yml -f values.yml | helm upgrade –values -)
  • ...

How

In a page the carvel.dev/ytt documentation

cari-lynn avatar Apr 19 '22 19:04 cari-lynn

Note: sad thing is, post-renderer is in some usecases unusable because of this bug: https://github.com/helm/helm/issues/7891 some of the manifest will just skip the hook :disappointed:

fuog avatar Oct 06 '23 15:10 fuog