Set Helm Default Output Format to YAML

747 views Asked by At

How do I set the default output of all helm to yaml instead of table?

I'm always fighting with the table format (see below). enter image description here

I want this to be the default. It's much neater - but do I really have to type -o yaml every time? enter image description here

1

There are 1 answers

1
Andrew On

You can create an alias for your shell, something like

alias hl='helm list -o yaml'

and add it to your ~/.basrc or ~/.zshrc or whichever shell rc file you are using.

After that invoking hl will give you desired result